Completed
Push — master ( 6207a9...7aae1c )
by Philip
02:19
created
src/CRUDlex/EntityDefinition.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -612,7 +612,7 @@
 block discarded – undo
612 612
      * the name of the field
613 613
      * @param string $key
614 614
      * the value of the key
615
-     * @param mixed $value
615
+     * @param string $value
616 616
      * the new value
617 617
      */
618 618
     public function setField($name, $key, $value) {
Please login to merge, or discard this patch.
src/CRUDlex/MySQLData.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -283,7 +283,7 @@
 block discarded – undo
283 283
      * the extracted ids
284 284
      */
285 285
     protected function getReferenceIds(array $entities, $field) {
286
-        $ids = array_map(function (Entity $entity) use ($field) {
286
+        $ids = array_map(function(Entity $entity) use ($field) {
287 287
             $id = $entity->get($field);
288 288
             return is_array($id) ? $id['id'] : $id;
289 289
         }, $entities);
Please login to merge, or discard this patch.