Completed
Push — master ( f87f0a...9b0f6e )
by Philip
07:40 queued 01:34
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   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -721,7 +721,7 @@
 block discarded – undo
721 721
      * the name of the field
722 722
      * @param string $key
723 723
      * the value of the key
724
-     * @param mixed $value
724
+     * @param string $value
725 725
      * the new value
726 726
      */
727 727
     public function setField($name, $key, $value)
Please login to merge, or discard this patch.