Completed
Pull Request — master (#79)
by Jacob
02:58
created
src/Events/EventDispatcher.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -96,12 +96,12 @@
 block discarded – undo
96 96
         return null;
97 97
     }
98 98
 
99
-     /**
100
-     * Determines if registered listeners exist for an event name.
101
-     *
102
-     * @param   string  $eventName
103
-     * @return  bool
104
-     */
99
+        /**
100
+         * Determines if registered listeners exist for an event name.
101
+         *
102
+         * @param   string  $eventName
103
+         * @return  bool
104
+         */
105 105
     public function hasListeners($eventName)
106 106
     {
107 107
         return null !== $this->getListeners($eventName);
Please login to merge, or discard this patch.
src/Metadata/Cache/ApcCache.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      *
25 25
      * @var string
26 26
      */
27
-     private $prefix = 'ModlrData';
27
+        private $prefix = 'ModlrData';
28 28
 
29 29
     /**
30 30
      * Constructor.
Please login to merge, or discard this patch.
src/Metadata/Cache/RedisCache.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      *
25 25
      * @var string
26 26
      */
27
-     private $prefix = 'ModlrData';
27
+        private $prefix = 'ModlrData';
28 28
 
29 29
     /**
30 30
      * Constructor.
Please login to merge, or discard this patch.
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.