Completed
Pull Request — master (#79)
by Jacob
02:58
created
src/Models/Collections/Collection.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace As3\Modlr\Models\Collections;
4 4
 
5
-use As3\Modlr\Models\AbstractModel;
6
-
7 5
 /**
8 6
  * Model collection that contains record representations from a persistence (database) layer.
9 7
  *
Please login to merge, or discard this patch.
src/Models/Model.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace As3\Modlr\Models;
4 4
 
5 5
 use As3\Modlr\Models\Relationships;
6
-use As3\Modlr\Persister\Record;
7 6
 use As3\Modlr\Store\Store;
8 7
 use As3\Modlr\Metadata\EntityMetadata;
9 8
 
Please login to merge, or discard this patch.
src/Models/AbstractModel.php 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -481,12 +481,12 @@
 block discarded – undo
481 481
         return $this;
482 482
     }
483 483
 
484
-     /**
485
-     * Removes properties marked as non-saved.
486
-     *
487
-     * @param   array   $properties
488
-     * @return  array
489
-     */
484
+        /**
485
+         * Removes properties marked as non-saved.
486
+         *
487
+         * @param   array   $properties
488
+         * @return  array
489
+         */
490 490
     protected function filterNotSavedProperties(array $properties)
491 491
     {
492 492
         foreach ($this->getMetadata()->getAttributes() as $fieldKey => $propMeta) {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace As3\Modlr\Models;
4 4
 
5 5
 use As3\Modlr\Models\Relationships;
6
-use As3\Modlr\Persister\Record;
7 6
 use As3\Modlr\Store\Store;
8 7
 use As3\Modlr\Metadata\EntityMetadata;
9 8
 
Please login to merge, or discard this patch.
src/Models/Collections/InverseCollection.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
      */
55 55
     public function clear()
56 56
     {
57
-       throw new \BadMethodCallException('You cannot clear inverse collections.');
57
+        throw new \BadMethodCallException('You cannot clear inverse collections.');
58 58
     }
59 59
 
60 60
     /**
Please login to merge, or discard this patch.
src/Models/Embed.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace As3\Modlr\Models;
4 4
 
5 5
 use As3\Modlr\Models\Relationships;
6
-use As3\Modlr\Persister\Record;
7 6
 use As3\Modlr\Store\Store;
8 7
 use As3\Modlr\Metadata\EntityMetadata;
9 8
 
Please login to merge, or discard this patch.