Completed
Push — master ( caa478...b65f01 )
by Manuel
02:41
created
app/Device.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
     public function scopeOnHomePage($query)
12 12
     {
13 13
         return $query->where('public', 'true')
14
-                     ->orWhere(function ($query) {
14
+                     ->orWhere(function($query) {
15 15
                          $query->where('public', 'auto')
16 16
                                ->whereNull('group');
17 17
                      });
Please login to merge, or discard this patch.
app/Http/Controllers/WelcomeController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
      */
54 54
     public function gettingStarted(MarkdownParser $markdown, Cache $cache, Filesystem $file)
55 55
     {
56
-        $gettingStarted = $cache->remember('getting-started', 5, function () use ($markdown, $file) {
56
+        $gettingStarted = $cache->remember('getting-started', 5, function() use ($markdown, $file) {
57 57
 
58 58
             $gettingStarted = $file->get(base_path('resources/getting-started/readme.md'));
59 59
 
Please login to merge, or discard this patch.
app/Http/Requests/Request.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 
16 16
     public function validateMac()
17 17
     {
18
-        app('validator')->extend('mac', function ($attribute, $value, $parameters) {
18
+        app('validator')->extend('mac', function($attribute, $value, $parameters) {
19 19
             return preg_match('/^(([0-9a-fA-F]{2}-){5}|([0-9a-fA-F]{2}:){5})[0-9a-fA-F]{2}$/', $value);
20 20
         });
21 21
     }
Please login to merge, or discard this patch.
app/Http/routes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 
7 7
 Route::get('/stats', 'WelcomeController@statistics');
8 8
 
9
-Route::group(['prefix' => 'api/v1', 'namespace' => 'Api'], function () {
9
+Route::group(['prefix' => 'api/v1', 'namespace' => 'Api'], function() {
10 10
     Route::resource('devices', 'DeviceController', ['except' => ['create', 'edit']]);
11 11
 
12 12
     Route::post('devices/poke', [
Please login to merge, or discard this patch.
app/Providers/BusServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
      */
15 15
     public function boot(Dispatcher $dispatcher)
16 16
     {
17
-        $dispatcher->mapUsing(function ($command) {
17
+        $dispatcher->mapUsing(function($command) {
18 18
             return Dispatcher::simpleMapping(
19 19
                 $command, 'PiFinder\Commands', 'PiFinder\Handlers\Commands'
20 20
             );
Please login to merge, or discard this patch.
app/Providers/RouteServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
      */
36 36
     public function map(Router $router)
37 37
     {
38
-        $router->group(['namespace' => $this->namespace], function ($router) {
38
+        $router->group(['namespace' => $this->namespace], function($router) {
39 39
             require app_path('Http/routes.php');
40 40
         });
41 41
     }
Please login to merge, or discard this patch.
app/Providers/BroadcastServiceProvider.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
         /*
20 20
          * Authenticate the user's personal channel...
21 21
          */
22
-        Broadcast::channel('App.User.{userId}', function ($user, $userId) {
22
+        Broadcast::channel('App.User.{userId}', function($user, $userId) {
23 23
             return (int) $user->id === (int) $userId;
24 24
         });
25 25
     }
Please login to merge, or discard this patch.
app/Services/Statistics.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
         $colors = ['rgb(23,103,153)', 'rgb(47,135,176)', 'rgb(66,164,187)', 'rgb(91,192,196)'];
61 61
         $highlight_colors = ['#8BB3CC', '#97C3D7', '#ADDFE1', '#BBEAE3'];
62 62
 
63
-        return $data->each(function ($network, $i) use ($colors, $highlight_colors) {
63
+        return $data->each(function($network, $i) use ($colors, $highlight_colors) {
64 64
             $network->color = $colors[$i];
65 65
             $network->highlight = $highlight_colors[$i];
66 66
         });
Please login to merge, or discard this patch.
app/Utilities/mix.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -4,16 +4,16 @@  discard block
 block discarded – undo
4 4
 // mix('js/app.js')
5 5
 function mix($path, $json = false, $shouldHotReload = false)
6 6
 {
7
-    if (! $json) static $json;
8
-    if (! $shouldHotReload) static $shouldHotReload;
7
+    if (!$json) static $json;
8
+    if (!$shouldHotReload) static $shouldHotReload;
9 9
 
10
-    if (! $json) {
10
+    if (!$json) {
11 11
         $manifestPath = public_path('manifest.json');
12 12
         $shouldHotReload = file_exists(public_path('hot'));
13 13
 
14
-        if (! file_exists($manifestPath)) {
14
+        if (!file_exists($manifestPath)) {
15 15
             throw new Exception(
16
-                'The Laravel Mix manifest file does not exist. ' .
16
+                'The Laravel Mix manifest file does not exist. '.
17 17
                 'Please run "npm run webpack" and try again.'
18 18
             );
19 19
         }
@@ -23,9 +23,9 @@  discard block
 block discarded – undo
23 23
 
24 24
     $path = pathinfo($path, PATHINFO_BASENAME);
25 25
 
26
-    if (! array_key_exists($path, $json)) {
26
+    if (!array_key_exists($path, $json)) {
27 27
         throw new Exception(
28
-            'Unknown file path. Please check your requested ' .
28
+            'Unknown file path. Please check your requested '.
29 29
             'webpack.mix.js output path, and try again.'
30 30
         );
31 31
     }
Please login to merge, or discard this patch.