Apply Laravel coding style
Shift automatically applies the Laravel coding style - which uses the PSR-12 coding style as a base with some minor additions. You may customize the code style applied by configuring [Pint](https://laravel.com/docs/pint), [PHP CS Fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer), or [PHP CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) for your project root. For more information on customizing the code style applied by Shift, [watch this short video](https://laravelshift.com/videos/shift-code-style).
This commit is contained in:
@@ -41,10 +41,10 @@ class NotificationController extends Controller
|
||||
/**
|
||||
* This function is used to create in app notifications.
|
||||
*
|
||||
* @param type $model_id
|
||||
* @param type $userid_created
|
||||
* @param type $type_id
|
||||
* @param type $forwhome
|
||||
* @param type $model_id
|
||||
* @param type $userid_created
|
||||
* @param type $type_id
|
||||
* @param type $forwhome
|
||||
*/
|
||||
public function create($model_id, $userid_created, $type_id, $forwhome = [])
|
||||
{
|
||||
@@ -70,8 +70,7 @@ class NotificationController extends Controller
|
||||
/**
|
||||
* This function is to mark all ticket to read status.
|
||||
*
|
||||
* @param type $id
|
||||
*
|
||||
* @param type $id
|
||||
* @return int
|
||||
*/
|
||||
public function markAllRead($id)
|
||||
@@ -88,8 +87,7 @@ class NotificationController extends Controller
|
||||
/**
|
||||
* This function to mark read.
|
||||
*
|
||||
* @param type $id
|
||||
*
|
||||
* @param type $id
|
||||
* @return int
|
||||
*/
|
||||
public function markRead($id)
|
||||
@@ -118,8 +116,7 @@ class NotificationController extends Controller
|
||||
/**
|
||||
* function to delete notifications.
|
||||
*
|
||||
* @param type $id
|
||||
*
|
||||
* @param type $id
|
||||
* @return int
|
||||
*/
|
||||
public function delete($id)
|
||||
|
Reference in New Issue
Block a user