Passed
Push — master ( e5b31a...cf340d )
by Arthur
04:48
created
src/Foundation/Traits/RefreshDatabase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
         $this->artisan('cache:clear');
24 24
         $this->artisan('db:seed');
25 25
 
26
-        $this->beforeApplicationDestroyed(function () {
26
+        $this->beforeApplicationDestroyed(function() {
27 27
             $this->artisan('cache:clear');
28 28
             $this->artisan('migrate:rollback');
29 29
             RefreshDatabaseState::$migrated = false;
Please login to merge, or discard this patch.
src/Foundation/Traits/Cacheable.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -13,20 +13,20 @@
 block discarded – undo
13 13
 
14 14
 trait Cacheable
15 15
 {
16
-    public static function find($id, $columns = ['*'])
16
+    public static function find($id, $columns = [ '*' ])
17 17
     {
18 18
         $model = ModelCache::findOrRequery($id, get_called_class());
19 19
         return self::filterFromColumns($model, $columns);
20 20
     }
21 21
 
22
-    public static function findWithoutCache($id, $columns = ['*'])
22
+    public static function findWithoutCache($id, $columns = [ '*' ])
23 23
     {
24 24
         return get_parent_class(self::class)::find($id, $columns);
25 25
     }
26 26
 
27 27
     private static function filterFromColumns($model, $columns)
28 28
     {
29
-        if ($columns !== ['*']) {
29
+        if ($columns !== [ '*' ]) {
30 30
             return collect($model)->first($columns);
31 31
         }
32 32
         return $model;
Please login to merge, or discard this patch.
src/Foundation/Traits/Notifiable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,6 +28,6 @@
 block discarded – undo
28 28
 
29 29
     public function receivesBroadcastNotificationsOn()
30 30
     {
31
-        return strtolower(get_short_class_name($this)) . '.' . $this->getKey();
31
+        return strtolower(get_short_class_name($this)).'.'.$this->getKey();
32 32
     }
33 33
 }
Please login to merge, or discard this patch.