Completed
Push — master ( c7d5ad...0208a8 )
by Sherif
02:59
created
src/Modules/Acl/Http/routes.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -15,8 +15,8 @@
 block discarded – undo
15 15
 
16 16
 	$apiVersion = \Request::header('api-version') ?: 1;
17 17
 	Route::controllers([
18
-		'users'       => class_exists('V' . $apiVersion . '\UsersController') ? 'V' . $apiVersion . '\UsersController' : 'V1\UsersController',
19
-		'groups'      => 'V' . $apiVersion . '\GroupsController',
20
-		'permissions' => 'V' . $apiVersion . '\PermissionsController'
18
+		'users'       => class_exists('V'.$apiVersion.'\UsersController') ? 'V'.$apiVersion.'\UsersController' : 'V1\UsersController',
19
+		'groups'      => 'V'.$apiVersion.'\GroupsController',
20
+		'permissions' => 'V'.$apiVersion.'\PermissionsController'
21 21
 		]);
22 22
 });
23 23
\ No newline at end of file
Please login to merge, or discard this patch.
src/Modules/Core/AbstractRepositories/AbstractRepositoryContainer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     	foreach ($this->getRepoNameSpace() as $repoNameSpace) 
20 20
     	{
21 21
             $apiVersion = \Request::header('api-version') ?: 1;
22
-            $class      = rtrim($repoNameSpace, '\\') . '\\V' . $apiVersion .'\\' . ucfirst(str_singular($name)) . 'Repository';
22
+            $class      = rtrim($repoNameSpace, '\\').'\\V'.$apiVersion.'\\'.ucfirst(str_singular($name)).'Repository';
23 23
     		if (class_exists($class)) 
24 24
     		{
25 25
         		return \App::make($class);
Please login to merge, or discard this patch.
src/Modules/Core/Http/routes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,6 +15,6 @@
 block discarded – undo
15 15
 	
16 16
 	$apiVersion = \Request::header('api-version') ?: 1;
17 17
 	Route::controllers([
18
-		'settings' => 'V' . $apiVersion . '\SettingsController'
18
+		'settings' => 'V'.$apiVersion.'\SettingsController'
19 19
 		]);
20 20
 });
21 21
\ No newline at end of file
Please login to merge, or discard this patch.
src/Modules/Logging/Http/routes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,6 +15,6 @@
 block discarded – undo
15 15
 	
16 16
 	$apiVersion = \Request::header('api-version') ?: 1;
17 17
 	Route::controllers([
18
-		'logs' => 'V' . $apiVersion . '\LogsController',
18
+		'logs' => 'V'.$apiVersion.'\LogsController',
19 19
 		]);
20 20
 });
21 21
\ No newline at end of file
Please login to merge, or discard this patch.
src/Modules/Reporting/Http/routes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,6 +15,6 @@
 block discarded – undo
15 15
 	
16 16
 	$apiVersion = \Request::header('api-version') ?: 1;
17 17
 	Route::controllers([
18
-		'reports' => 'V' . $apiVersion . '\ReportingController',
18
+		'reports' => 'V'.$apiVersion.'\ReportingController',
19 19
 		]);
20 20
 });
21 21
\ No newline at end of file
Please login to merge, or discard this patch.
src/Modules/Notifications/Http/routes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,6 +15,6 @@
 block discarded – undo
15 15
 	
16 16
 	$apiVersion = \Request::header('api-version') ?: 1;
17 17
 	Route::controllers([
18
-		'notifications' => 'V' . $apiVersion . '\NotificationsController',
18
+		'notifications' => 'V'.$apiVersion.'\NotificationsController',
19 19
 		]);
20 20
 });
21 21
\ No newline at end of file
Please login to merge, or discard this patch.