Completed
Pull Request — master (#7)
by Raí
09:09
created
Bludata/Framework/Laravel/Application/BaseApplication.php 3 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -11,13 +11,13 @@
 block discarded – undo
11 11
     public function publicRoutes($uri, $controller, $name)
12 12
     {
13 13
         Route::get($uri, $controller.'@index')
14
-             ->name($name.'.index');
14
+                ->name($name.'.index');
15 15
 
16 16
         Route::get($uri.'/{uuid}', $controller.'@show')
17
-             ->name($name.'.show');
17
+                ->name($name.'.show');
18 18
 
19 19
         Route::get($uri.'/destroyed', $controller.'@destroyed')
20
-             ->name($name.'.destroyed');
20
+                ->name($name.'.destroyed');
21 21
     }
22 22
 
23 23
     public function routesWithPermission()
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
8 8
 
9 9
 class BaseApplication extends Application
10 10
 {
11
-    public function publicRoutes($uri, $controller, $name)
11
+    public function publicRoutes ($uri, $controller, $name)
12 12
     {
13 13
         Route::get($uri, $controller.'@index')
14 14
              ->name($name.'.index');
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
              ->name($name.'.destroyed');
21 21
     }
22 22
 
23
-    public function routesWithPermission()
23
+    public function routesWithPermission ()
24 24
     {
25 25
 
26 26
     }
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,8 +6,7 @@
 block discarded – undo
6 6
 use Illuminate\Foundation\Application;
7 7
 use Illuminate\Support\Facades\Route;
8 8
 
9
-class BaseApplication extends Application
10
-{
9
+class BaseApplication extends Application {
11 10
     public function publicRoutes($uri, $controller, $name)
12 11
     {
13 12
         Route::get($uri, $controller.'@index')
Please login to merge, or discard this patch.
app/Providers/RouteServiceProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
      *
22 22
      * @return void
23 23
      */
24
-    public function boot()
24
+    public function boot ()
25 25
     {
26 26
         //
27 27
 
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
      *
34 34
      * @return void
35 35
      */
36
-    public function map()
36
+    public function map ()
37 37
     {
38 38
         app()->publicRoutes('usuario', 'UsuarioController', 'usuario');
39 39
 
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
      *
54 54
      * @return void
55 55
      */
56
-    protected function mapWebRoutes()
56
+    protected function mapWebRoutes ()
57 57
     {
58 58
         Route::middleware('web')
59 59
              ->namespace($this->namespace)
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
      *
68 68
      * @return void
69 69
      */
70
-    protected function mapApiRoutes()
70
+    protected function mapApiRoutes ()
71 71
     {
72 72
         Route::prefix('api')
73 73
              ->middleware('api')
Please login to merge, or discard this patch.