Test Failed
Push — master ( c9f7be...859573 )
by Gabriel
06:41
created
src/Loaders/Database.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
         );
59 59
         $files = [];
60 60
         foreach ($mediaRecords as $mediaRecord) {
61
-            $files[] = new File($this->getFilesystem(),$mediaRecord->path);
61
+            $files[] = new File($this->getFilesystem(), $mediaRecord->path);
62 62
         }
63 63
         return $files;
64 64
     }
Please login to merge, or discard this patch.
src/Models/MediaProperties/MediaProperties.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,11 +18,11 @@
 block discarded – undo
18 18
      * @param $collection
19 19
      * @return MediaProperty|Record
20 20
      */
21
-    public function for(Record $model, $collection)
21
+    public function for (Record $model, $collection)
22 22
     {
23 23
         if ($model->hasRelation('MediaProperties')) {
24 24
             return $model->getRelation('MediaProperties')->getResults()->filter(
25
-                function ($item) use ($collection) {
25
+                function($item) use ($collection) {
26 26
                     return $item->collection_name == $collection;
27 27
                 }
28 28
             )->current();
Please login to merge, or discard this patch.
src/Models/MediaRecords/MediaRecords.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,11 +21,11 @@
 block discarded – undo
21 21
      * @param $collection
22 22
      * @return MediaProperty[]|Collection
23 23
      */
24
-    public function for(Record $model, $collection)
24
+    public function for (Record $model, $collection)
25 25
     {
26 26
         if ($model->hasRelation('Media')) {
27 27
             return $model->getRelation('Media')->getResults()->filter(
28
-                function ($item) use ($collection) {
28
+                function($item) use ($collection) {
29 29
                     return $item->collection_name == $collection;
30 30
                 }
31 31
             );
Please login to merge, or discard this patch.