Completed
Push — master ( 010898...989e4a )
by
unknown
02:51 queued 31s
created
assets/snippets/DocLister/core/extender/paginate.extender.inc 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -227,6 +227,10 @@
 block discarded – undo
227 227
         return $url;
228 228
     }
229 229
 
230
+    /**
231
+     * @param string $url
232
+     * @param string $requestName
233
+     */
230 234
     public function buildUrl($url, $requestName, $params)
231 235
     {
232 236
         if ($requestName != '' && is_array($params)) {
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-if (!defined('MODX_BASE_PATH')) {
2
+if ( ! defined('MODX_BASE_PATH')) {
3 3
     die('HACK???');
4 4
 }
5 5
 
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
                 if (
55 55
                     isset($_GET[$requestName])
56 56
                     && intval($_GET[$requestName]) <= 1
57
-                    && !$this->DocLister->getCFGDef('noRedirect', 0)
57
+                    && ! $this->DocLister->getCFGDef('noRedirect', 0)
58 58
                 ) {
59 59
                     $this->modx->sendRedirect($this->getUrl());
60 60
                 }
@@ -233,7 +233,7 @@  discard block
 block discarded – undo
233 233
             $q = http_build_query(array_merge($params, array($this->getRequestName($requestName) => null)));
234 234
             $url = explode("?", $url, 2);
235 235
             $url = $url[0];
236
-            if (!empty($q)) {
236
+            if ( ! empty($q)) {
237 237
                 $url .= "?" . $q;
238 238
             }
239 239
         }
Please login to merge, or discard this patch.