Completed
Pull Request — master (#29)
by Manuel
05:27 queued 02:34
created
app/Console/Commands/UserCreate.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,11 +53,11 @@
 block discarded – undo
53 53
         $password = $this->option('password');
54 54
         $password_confirmation = $this->option('password_confirmation');
55 55
 
56
-        if (! $password) {
56
+        if (!$password) {
57 57
             $password = $this->secret('What password should the user have?');
58 58
         }
59 59
 
60
-        if (! $password_confirmation) {
60
+        if (!$password_confirmation) {
61 61
             $password_confirmation = $this->secret('Please confirm the password.');
62 62
         }
63 63
 
Please login to merge, or discard this patch.
app/Http/Controllers/Api/DeviceController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
     {
67 67
         $device = Device::find($id);
68 68
 
69
-        if (! $device) {
69
+        if (!$device) {
70 70
             return $this->respondNotFound('Did not find the device you are looking for!');
71 71
         }
72 72
 
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
     {
88 88
         $device = Device::find($id);
89 89
 
90
-        if (! $device) {
90
+        if (!$device) {
91 91
             return $this->respondNotFound('Did not find the device you are looking for!');
92 92
         }
93 93
 
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
     {
112 112
         $device = Device::find($id);
113 113
 
114
-        if (! $device) {
114
+        if (!$device) {
115 115
             return $this->respondNotFound('Did not find the device you are looking for!');
116 116
         }
117 117
 
Please login to merge, or discard this patch.
app/Utilities/mix.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -4,18 +4,18 @@  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) {
7
+    if (!$json) {
8 8
         static $json;
9 9
     }
10
-    if (! $shouldHotReload) {
10
+    if (!$shouldHotReload) {
11 11
         static $shouldHotReload;
12 12
     }
13 13
 
14
-    if (! $json) {
14
+    if (!$json) {
15 15
         $manifestPath = public_path('manifest.json');
16 16
         $shouldHotReload = file_exists(public_path('hot'));
17 17
 
18
-        if (! file_exists($manifestPath)) {
18
+        if (!file_exists($manifestPath)) {
19 19
             throw new Exception(
20 20
                 'The Laravel Mix manifest file does not exist. '.
21 21
                 'Please run "npm run webpack" and try again.'
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 
28 28
     $path = pathinfo($path, PATHINFO_BASENAME);
29 29
 
30
-    if (! array_key_exists($path, $json)) {
30
+    if (!array_key_exists($path, $json)) {
31 31
         throw new Exception(
32 32
             'Unknown file path. Please check your requested '.
33 33
             'webpack.mix.js output path, and try again.'
Please login to merge, or discard this patch.