Completed
Pull Request — master (#71)
by Mikael
04:28
created
sources/lib/Model/ModelTrait/ReadQueries.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
      * "where" condition nor any untrusted params.
79 79
      *
80 80
      * @access public
81
-     * @param  mixed              $where
81
+     * @param  Where              $where
82 82
      * @param  array              $values
83 83
      * @param  string             $suffix order by, limit, etc.
84 84
      * @return CollectionIterator
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
      * Return the number of records matching a condition.
121 121
      *
122 122
      * @access public
123
-     * @param  string|Where $where
123
+     * @param  Where $where
124 124
      * @param  array        $values
125 125
      * @return int
126 126
      */
Please login to merge, or discard this patch.
sources/lib/SessionBuilder.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 namespace PommProject\ModelManager;
11 11
 
12 12
 use PommProject\Foundation\Client\ClientHolder;
13
-use PommProject\Foundation\Session as FoundationSession;
14 13
 use PommProject\Foundation\Session\Connection;
15 14
 use PommProject\Foundation\Session\Session;
16 15
 use PommProject\Foundation\SessionBuilder as FoundationSessionBuilder;
Please login to merge, or discard this patch.
sources/lib/Model/FlexibleEntity/ModifiedColumnEntityTrait.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -33,8 +33,8 @@  discard block
 block discarded – undo
33 33
     }
34 34
 
35 35
     /**
36
-     * @param $column
37
-     * @return FlexibleEntityInterface
36
+     * @param string $column
37
+     * @return ModifiedColumnEntityTrait
38 38
      */
39 39
     public function addModifiedColumn($column)
40 40
     {
@@ -48,8 +48,8 @@  discard block
 block discarded – undo
48 48
     }
49 49
 
50 50
     /**
51
-     * @param $column
52
-     * @return FlexibleEntityInterface
51
+     * @param string $column
52
+     * @return ModifiedColumnEntityTrait
53 53
      */
54 54
     public function removeModifiedColumn($column)
55 55
     {
Please login to merge, or discard this patch.
sources/lib/Model/ModelTrait/WriteQueries.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      *
38 38
      * @access public
39 39
      * @param  FlexibleEntityInterface  $entity
40
-     * @return Model                    $this
40
+     * @return WriteQueries                    $this
41 41
      */
42 42
     public function insertOne(FlexibleEntityInterface &$entity)
43 43
     {
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
      * @access public
77 77
      * @param  FlexibleEntityInterface  $entity
78 78
      * @param  array                    $fields
79
-     * @return Model                    $this
79
+     * @return WriteQueries                    $this
80 80
      */
81 81
     public function updateOne(FlexibleEntityInterface &$entity, array $fields = [])
82 82
     {
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
      *
149 149
      * @access public
150 150
      * @param  FlexibleEntityInterface  $entity
151
-     * @return Model                    $this
151
+     * @return WriteQueries                    $this
152 152
      */
153 153
     public function deleteOne(FlexibleEntityInterface &$entity)
154 154
     {
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
      *
184 184
      * Delete records by a given condition. A collection of all deleted entries is returned.
185 185
      *
186
-     * @param        $where
186
+     * @param        Where $where
187 187
      * @param  array $values
188 188
      * @return CollectionIterator
189 189
      */
Please login to merge, or discard this patch.