Completed
Push — master ( 270070...c8af52 )
by
unknown
12s
created
src/Pagerfanta/Adapter/SolariumAdapter.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -125,6 +125,10 @@
 block discarded – undo
125 125
         return $this->resultSet;
126 126
     }
127 127
 
128
+    /**
129
+     * @param integer|null $start
130
+     * @param integer|null $rows
131
+     */
128 132
     private function resultSetStartAndRowsAreNotNullAndChange($start, $rows)
129 133
     {
130 134
         return $this->resultSetStartAndRowsAreNotNull($start, $rows) &&
Please login to merge, or discard this patch.
src/Pagerfanta/Pagerfanta.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -105,6 +105,9 @@  discard block
 block discarded – undo
105 105
         return $this->normalizeOutOfRangePages;
106 106
     }
107 107
 
108
+    /**
109
+     * @param boolean $value
110
+     */
108 111
     private function filterBoolean($value)
109 112
     {
110 113
         if (!is_bool($value)) {
@@ -134,6 +137,9 @@  discard block
 block discarded – undo
134 137
         return $this;
135 138
     }
136 139
 
140
+    /**
141
+     * @param integer $maxPerPage
142
+     */
137 143
     private function filterMaxPerPage($maxPerPage)
138 144
     {
139 145
         $maxPerPage = $this->toInteger($maxPerPage);
@@ -214,6 +220,10 @@  discard block
 block discarded – undo
214 220
         $this->useDeprecatedBooleanArgument($arguments, $index, $method);
215 221
     }
216 222
 
223
+    /**
224
+     * @param integer $index
225
+     * @param string $method
226
+     */
217 227
     private function useDeprecatedBooleanArgument($arguments, $index, $method)
218 228
     {
219 229
         if (isset($arguments[$index])) {
@@ -221,6 +231,9 @@  discard block
 block discarded – undo
221 231
         }
222 232
     }
223 233
 
234
+    /**
235
+     * @param integer $currentPage
236
+     */
224 237
     private function filterCurrentPage($currentPage)
225 238
     {
226 239
         $currentPage = $this->toInteger($currentPage);
Please login to merge, or discard this patch.
tests/Pagerfanta/Tests/Adapter/DoctrineDbalTestCase.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -43,6 +43,9 @@  discard block
 block discarded – undo
43 43
         return DriverManager::getConnection($params);
44 44
     }
45 45
 
46
+    /**
47
+     * @param \Doctrine\DBAL\Connection $conn
48
+     */
46 49
     private function createSchema($conn)
47 50
     {
48 51
         $schema = new Schema();
@@ -66,6 +69,9 @@  discard block
 block discarded – undo
66 69
         }
67 70
     }
68 71
 
72
+    /**
73
+     * @param \Doctrine\DBAL\Connection $conn
74
+     */
69 75
     private function insertData($conn)
70 76
     {
71 77
         for ($i = 1; $i <= 50; $i++) {
Please login to merge, or discard this patch.
tests/Pagerfanta/Tests/Adapter/SolariumAdapterTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -188,6 +188,9 @@
 block discarded – undo
188 188
         $this->doTestGetResultSet($query, $endPoint);
189 189
     }
190 190
 
191
+    /**
192
+     * @param null|string $endPoint
193
+     */
191 194
     private function doTestGetResultSet($query, $endPoint)
192 195
     {
193 196
         $client = $this->createClientMock();
Please login to merge, or discard this patch.