@@ -54,7 +54,7 @@ |
||
| 54 | 54 | 'team_id' => $command->team_id, |
| 55 | 55 | ]; |
| 56 | 56 | |
| 57 | - return array_filter($params, function ($val) { |
|
| 57 | + return array_filter($params, function($val) { |
|
| 58 | 58 | return $val !== null; |
| 59 | 59 | }); |
| 60 | 60 | } |
@@ -43,7 +43,7 @@ |
||
| 43 | 43 | * @param \Gitamin\Models\Project $project |
| 44 | 44 | * @param int $action |
| 45 | 45 | */ |
| 46 | - protected function trigger(Project &$project, $action) |
|
| 46 | + protected function trigger(Project & $project, $action) |
|
| 47 | 47 | { |
| 48 | 48 | $data = [ |
| 49 | 49 | 'target_type' => 'Project', |
@@ -30,14 +30,14 @@ discard block |
||
| 30 | 30 | 'middleware' => ['app.hasSetting', 'auth'], |
| 31 | 31 | 'setting' => 'app_name', |
| 32 | 32 | 'as' => 'dashboard.' |
| 33 | - ], function ($router) { |
|
| 33 | + ], function($router) { |
|
| 34 | 34 | $router->get('/', [ |
| 35 | 35 | 'as' => 'index', |
| 36 | 36 | 'uses' => 'DashboardController@indexAction', |
| 37 | 37 | ]); |
| 38 | 38 | }); |
| 39 | 39 | //Install Area |
| 40 | - $router->group(['middleware' => ['app.isInstalled', 'localize']], function ($router) { |
|
| 40 | + $router->group(['middleware' => ['app.isInstalled', 'localize']], function($router) { |
|
| 41 | 41 | $router->controller('install', 'InstallController'); |
| 42 | 42 | }); |
| 43 | 43 | |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | 'middleware' => ['app.hasSetting', 'guest'], |
| 47 | 47 | 'setting' => 'app_name', |
| 48 | 48 | 'as' => 'signup.', |
| 49 | - ], function ($router) { |
|
| 49 | + ], function($router) { |
|
| 50 | 50 | $router->get('signup', [ |
| 51 | 51 | 'as' => 'signup', |
| 52 | 52 | 'uses' => 'SignupController@getSignup', |
@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | 'setting' => 'app_name', |
| 71 | 71 | 'prefix' => 'explore', |
| 72 | 72 | 'as' => 'explore.', |
| 73 | - ], function ($router) { |
|
| 73 | + ], function($router) { |
|
| 74 | 74 | $router->get('/', [ |
| 75 | 75 | 'as' => 'index', |
| 76 | 76 | 'uses' => 'ExploreController@indexAction', |
@@ -90,7 +90,7 @@ discard block |
||
| 90 | 90 | $router->group([ |
| 91 | 91 | 'middleware' => 'app.hasSetting', |
| 92 | 92 | 'setting' => 'app_name', |
| 93 | - ], function ($router) { |
|
| 93 | + ], function($router) { |
|
| 94 | 94 | $router->get('/atom/{namespace?}', [ |
| 95 | 95 | 'as' => 'feed.atom', |
| 96 | 96 | 'uses' => 'FeedController@atomAction', |
@@ -106,7 +106,7 @@ discard block |
||
| 106 | 106 | 'middleware' => ['app.hasSetting'], |
| 107 | 107 | 'setting' => 'app_name', |
| 108 | 108 | 'as' => 'profile.', |
| 109 | - ], function ($router) { |
|
| 109 | + ], function($router) { |
|
| 110 | 110 | $router->get('profile', [ |
| 111 | 111 | 'as' => 'index', |
| 112 | 112 | 'uses' => 'ProfilesController@indexAction', |