Completed
Push — master ( 5e7f91...e0cb69 )
by Philip
08:11 queued 05:45
created
src/CRUDlex/ControllerProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -220,7 +220,7 @@
 block discarded – undo
220 220
                         return ['id' => $value];
221 221
                     }, $filter[$filterField]);
222 222
                     $filterToUse[$filterField] = $filter[$filterField];
223
-                } else if (in_array($type, ['text', 'multiline', 'fixed'])){
223
+                } else if (in_array($type, ['text', 'multiline', 'fixed'])) {
224 224
                     $filterToUse[$filterField]     = '%'.$filter[$filterField].'%';
225 225
                     $filterOperators[$filterField] = 'LIKE';
226 226
                 }
Please login to merge, or discard this patch.
src/CRUDlex/YamlReader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
             'whitespace' => false,
73 73
             'recursion.detect' => false
74 74
         ]);
75
-        $cache      = '<?php $crudlexCacheContent = '.$contentPHP.';';
75
+        $cache = '<?php $crudlexCacheContent = '.$contentPHP.';';
76 76
         file_put_contents($this->getCacheFile($fileName), $cache);
77 77
     }
78 78
 
Please login to merge, or discard this patch.
src/CRUDlex/AbstractData.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
      * Enriches an entity with metadata:
88 88
      * id, version, created_at, updated_at
89 89
      *
90
-     * @param mixed $id
90
+     * @param string|null $id
91 91
      * the id of the entity to enrich
92 92
      * @param Entity $entity
93 93
      * the entity to enrich
Please login to merge, or discard this patch.
src/CRUDlex/EntityDefinition.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -356,7 +356,7 @@  discard block
 block discarded – undo
356 356
     /**
357 357
      * Gets the service.
358 358
      *
359
-     * @return ServiceProvider
359
+     * @return Service
360 360
      * the service provider
361 361
      */
362 362
     public function getService()
@@ -752,7 +752,7 @@  discard block
 block discarded – undo
752 752
      * the name of the field
753 753
      * @param string $key
754 754
      * the value of the key
755
-     * @param mixed $value
755
+     * @param string $value
756 756
      * the new value
757 757
      */
758 758
     public function setField($name, $key, $value)
Please login to merge, or discard this patch.