Completed
Push — master ( 1e999f...03d6e7 )
by Philip
02:55
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/MySQLData.php 2 patches
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,8 +11,8 @@
 block discarded – undo
11 11
 
12 12
 namespace CRUDlex;
13 13
 
14
-use Doctrine\DBAL\Query\QueryBuilder;
15 14
 use Doctrine\DBAL\Connection;
15
+use Doctrine\DBAL\Query\QueryBuilder;
16 16
 
17 17
 /**
18 18
  * MySQL Data implementation using a given Doctrine DBAL instance.
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -397,7 +397,7 @@
 block discarded – undo
397 397
         $manyFields = $this->getManyFields();
398 398
         $id = $entity->get('id');
399 399
         foreach ($manyFields as $manyField) {
400
-            $thisField = $this->definition->getSubTypeField($manyField, 'many', 'thisField');;
400
+            $thisField = $this->definition->getSubTypeField($manyField, 'many', 'thisField'); ;
401 401
             $thatField = $this->definition->getSubTypeField($manyField, 'many', 'thatField');
402 402
             $this->database->delete($manyField, [$thisField => $id]);
403 403
             foreach ($entity->get($manyField) as $thatId) {
Please login to merge, or discard this patch.