Completed
Push — master ( 5cfbee...cf7808 )
by Philip
03:04
created
src/CRUDlex/EntityDefinition.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@
 block discarded – undo
141 141
      * the name of the field
142 142
      * @param string $key
143 143
      * the value of the key
144
-     * @param mixed $value
144
+     * @param string|boolean $value
145 145
      * the new value
146 146
      */
147 147
     protected function setFieldValue($name, $key, $value) {
Please login to merge, or discard this patch.
src/CRUDlex/Entity.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -146,7 +146,7 @@
 block discarded – undo
146 146
                 }
147 147
             } else if ($type === 'many') {
148 148
                 $many = array_map(function($id) {
149
-                   return ['id' => $id];
149
+                    return ['id' => $id];
150 150
                 }, $request->get($field));
151 151
                 $this->set($field, $many);
152 152
             } else {
Please login to merge, or discard this patch.