Completed
Pull Request — develop (#294)
by John
06:01
created
Alpha/Controller/DEnumController.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
      *
92 92
      * @param Alpha\Util\Http\Request $request
93 93
      *
94
-     * @return Alpha\Util\Http\Response
94
+     * @return Response
95 95
      *
96 96
      * @since 1.0
97 97
      */
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
      *
116 116
      * @param Alpha\Util\Http\Request $request
117 117
      *
118
-     * @return Alpha\Util\Http\Response
118
+     * @return Response
119 119
      *
120 120
      * @since 1.0
121 121
      */
Please login to merge, or discard this patch.
Alpha/Controller/ExcelController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
      *
89 89
      * @param Alpha\Util\Http\Request $request
90 90
      *
91
-     * @return Alpha\Util\Http\Response
91
+     * @return Response
92 92
      *
93 93
      * @since 1.0
94 94
      */
Please login to merge, or discard this patch.
Alpha/Controller/FeedController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
      *
89 89
      * @param Alpha\Util\Http\Request $request
90 90
      *
91
-     * @return Alpha\Util\Http\Response
91
+     * @return Response
92 92
      *
93 93
      * @since 1.0
94 94
      */
Please login to merge, or discard this patch.
Alpha/Controller/IndexController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
      *
89 89
      * @param Alpha\Util\Http\Request $request
90 90
      *
91
-     * @return Alpha\Util\Http\Response
91
+     * @return Response
92 92
      *
93 93
      * @since 1.0
94 94
      */
Please login to merge, or discard this patch.
Alpha/Controller/LogController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
      *
89 89
      * @param Alpha\Util\Http\Request $request
90 90
      *
91
-     * @return Alpha\Util\Http\Response
91
+     * @return Response
92 92
      *
93 93
      * @since 1.0
94 94
      */
Please login to merge, or discard this patch.
Alpha/Controller/LogoutController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
      *
89 89
      * @param Alpha\Util\Http\Request $request
90 90
      *
91
-     * @return Alpha\Util\Http\Response
91
+     * @return Response
92 92
      *
93 93
      * @since 1.0
94 94
      */
Please login to merge, or discard this patch.
Alpha/Controller/MetricController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
      *
89 89
      * @param Alpha\Util\Http\Request $request
90 90
      *
91
-     * @return Alpha\Util\Http\Response
91
+     * @return Response
92 92
      *
93 93
      * @since 1.0
94 94
      */
Please login to merge, or discard this patch.
Alpha/Controller/RecordSelectorController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
      *
89 89
      * @param Alpha\Util\Http\Request $request
90 90
      *
91
-     * @return Alpha\Util\Http\Response
91
+     * @return Response
92 92
      *
93 93
      * @since 1.0
94 94
      */
Please login to merge, or discard this patch.
Alpha/Controller/SearchController.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
      *
89 89
      * @param Alpha\Util\Http\Request $request
90 90
      *
91
-     * @return Alpha\Util\Http\Response
91
+     * @return Response
92 92
      *
93 93
      * @since 1.0
94 94
      */
Please login to merge, or discard this patch.
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -199,7 +199,7 @@  discard block
 block discarded – undo
199 199
         $config = ConfigProvider::getInstance();
200 200
 
201 201
         // used to track when our pagination range ends
202
-        $end = ($this->startPoint + $config->get('app.list.page.amount'));
202
+        $end = ($this->startPoint+$config->get('app.list.page.amount'));
203 203
 
204 204
         $body = '';
205 205
 
@@ -289,14 +289,14 @@  discard block
 block discarded – undo
289 289
 
290 290
         $body = '';
291 291
 
292
-        $end = ($this->startPoint + $config->get('app.list.page.amount'));
292
+        $end = ($this->startPoint+$config->get('app.list.page.amount'));
293 293
 
294 294
         if ($end > $this->resultCount) {
295 295
             $end = $this->resultCount;
296 296
         }
297 297
 
298 298
         if ($this->resultCount > 0) {
299
-            $body .= '<p align="center">Displaying '.($this->startPoint + 1).' to '.$end.' of <strong>'.$this->resultCount.'</strong>.&nbsp;&nbsp;';
299
+            $body .= '<p align="center">Displaying '.($this->startPoint+1).' to '.$end.' of <strong>'.$this->resultCount.'</strong>.&nbsp;&nbsp;';
300 300
         } else {
301 301
             if (!empty($this->query)) {
302 302
                 $body .= View::displayUpdateMessage('There were no search results for your query.');
@@ -308,9 +308,9 @@  discard block
 block discarded – undo
308 308
         if ($this->startPoint > 0) {
309 309
             // handle secure URLs
310 310
             if (isset($params['tk'])) {
311
-                $body .= '<li><a href="'.FrontController::generateSecureURL('act=Search&q='.$this->query.'&start='.($this->startPoint - $config->get('app.list.page.amount'))).'">&laquo;</a></li>';
311
+                $body .= '<li><a href="'.FrontController::generateSecureURL('act=Search&q='.$this->query.'&start='.($this->startPoint-$config->get('app.list.page.amount'))).'">&laquo;</a></li>';
312 312
             } else {
313
-                $body .= '<li><a href="'.$config->get('app.url').'/search/'.$this->query.'/'.($this->startPoint - $config->get('app.list.page.amount')).'">&laquo;</a></li>';
313
+                $body .= '<li><a href="'.$config->get('app.url').'/search/'.$this->query.'/'.($this->startPoint-$config->get('app.list.page.amount')).'">&laquo;</a></li>';
314 314
             }
315 315
         } elseif ($this->resultCount > $config->get('app.list.page.amount')) {
316 316
             $body .= '<li class="disabled"><a href="#">&laquo;</a></li>';
@@ -336,9 +336,9 @@  discard block
 block discarded – undo
336 336
         if ($this->resultCount > $end) {
337 337
             // handle secure URLs
338 338
             if (isset($params['tk'])) {
339
-                $body .= '<li><a href="'.FrontController::generateSecureURL('act=Search&q='.$this->query.'&start='.($this->startPoint + $config->get('app.list.page.amount'))).'">Next-&gt;&gt;</a></li>';
339
+                $body .= '<li><a href="'.FrontController::generateSecureURL('act=Search&q='.$this->query.'&start='.($this->startPoint+$config->get('app.list.page.amount'))).'">Next-&gt;&gt;</a></li>';
340 340
             } else {
341
-                $body .= '<li><a href="'.$config->get('app.url').'/search/'.$this->query.'/'.($this->startPoint + $config->get('app.list.page.amount')).'">&raquo;</a></li>';
341
+                $body .= '<li><a href="'.$config->get('app.url').'/search/'.$this->query.'/'.($this->startPoint+$config->get('app.list.page.amount')).'">&raquo;</a></li>';
342 342
             }
343 343
         } elseif ($this->resultCount > $config->get('app.list.page.amount')) {
344 344
             $body .= '<li class="disabled"><a href="#">&raquo;</a></li>';
Please login to merge, or discard this patch.