Completed
Push — master ( 978c91...2d50ed )
by James Ekow Abaka
15:58
created
src/DataOperations.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -237,6 +237,9 @@
 block discarded – undo
237 237
         }
238 238
     }     
239 239
     
240
+    /**
241
+     * @param string $event
242
+     */
240 243
     private function runBehaviours($event, $args)
241 244
     {
242 245
         foreach($this->wrapper->getBehaviours() as $behaviour) {
Please login to merge, or discard this patch.
src/FilterCompiler.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -204,6 +204,10 @@
 block discarded – undo
204 204
         return $return;
205 205
     }
206 206
 
207
+    /**
208
+     * @param integer $level
209
+     * @param string $opr
210
+     */
207 211
     private function parseRightExpression($level, $opr)
208 212
     {
209 213
         switch ($opr) {
Please login to merge, or discard this patch.
src/Nibii.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -45,6 +45,9 @@  discard block
 block discarded – undo
45 45
         }
46 46
     }
47 47
     
48
+    /**
49
+     * @param RecordWrapper $instance
50
+     */
48 51
     public static function getModelTable($instance)
49 52
     {
50 53
         if(self::$tableResolver) {
@@ -68,6 +71,9 @@  discard block
 block discarded – undo
68 71
         return $className;
69 72
     }
70 73
     
74
+    /**
75
+     * @param string $class
76
+     */
71 77
     public static function getModelName($class)
72 78
     {
73 79
         if(self::$modelResolver) {
Please login to merge, or discard this patch.
src/Operations.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -23,6 +23,10 @@
 block discarded – undo
23 23
         'save'
24 24
     ];
25 25
     
26
+    /**
27
+     * @param RecordWrapper $wrapper
28
+     * @param DriverAdapter $adapter
29
+     */
26 30
     public function __construct($wrapper, $adapter)
27 31
     {
28 32
         $this->wrapper = $wrapper;
Please login to merge, or discard this patch.
src/QueryParameters.php 1 patch
Doc Comments   +6 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,6 @@  discard block
 block discarded – undo
23 23
 
24 24
     /**
25 25
      *
26
-     * @param \ $model
27 26
      */
28 27
     public function __construct($wrapper)
29 28
     {
@@ -118,6 +117,9 @@  discard block
 block discarded – undo
118 117
         $this->boundData += $values;
119 118
     }
120 119
 
120
+    /**
121
+     * @param boolean $firstOnly
122
+     */
121 123
     public function setFirstOnly($firstOnly)
122 124
     {
123 125
         $this->firstOnly = $firstOnly;
@@ -139,6 +141,9 @@  discard block
 block discarded – undo
139 141
         $this->offset = $offset;
140 142
     }
141 143
     
144
+    /**
145
+     * @param string $field
146
+     */
142 147
     public function addSort($field, $direction = 'ASC')
143 148
     {
144 149
         $this->sorts[] = "$field $direction";
Please login to merge, or discard this patch.
src/RecordWrapper.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
 
124 124
     /**
125 125
      * @method
126
-     * @param type $name
126
+     * @param string $name
127 127
      * @param type $arguments
128 128
      * @return type
129 129
      */
@@ -157,6 +157,9 @@  discard block
 block discarded – undo
157 157
         return $this->table;
158 158
     }
159 159
     
160
+    /**
161
+     * @param integer $depth
162
+     */
160 163
     private function expandArrayValue($array, $relationships, $depth, $index = null)
161 164
     {
162 165
         foreach($relationships as $name => $relationship) {
Please login to merge, or discard this patch.
src/QueryEngine.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -11,6 +11,9 @@
 block discarded – undo
11 11
         $this->db = $driver;
12 12
     }
13 13
     
14
+    /**
15
+     * @param string $query
16
+     */
14 17
     private function filter($query)
15 18
     {
16 19
         return $query;
Please login to merge, or discard this patch.