Passed
Push — master ( 2207eb...9f340b )
by Andreas
10:12
created
lib/net/nehmer/blog/handler/archive.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -105,8 +105,8 @@  discard block
 block discarded – undo
105 105
         $year_data = [];
106 106
         $first_post = $this->_compute_welcome_first_post();
107 107
         $this->_request_data['first_post'] = $first_post;
108
-        $this->_request_data['total_count'] =& $total_count;
109
-        $this->_request_data['year_data'] =& $year_data;
108
+        $this->_request_data['total_count'] = & $total_count;
109
+        $this->_request_data['year_data'] = & $year_data;
110 110
         if (!$first_post) {
111 111
             return;
112 112
         }
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
 
242 242
             if ($category) {
243 243
                 $category = trim(strip_tags($category));
244
-                if (   $data['datamanager']->get_schema('default')->has_field('categories')
244
+                if ($data['datamanager']->get_schema('default')->has_field('categories')
245 245
                     && !$data['datamanager']->get_schema('default')->get_field('categories')['type_config']['allow_multiple']) {
246 246
                     $qb->add_constraint('extra1', '=', $category);
247 247
                 } else {
@@ -306,7 +306,7 @@  discard block
 block discarded – undo
306 306
      */
307 307
     private function _set_startend_from_month(int $year, int $month)
308 308
     {
309
-        if (   $month < 1
309
+        if ($month < 1
310 310
             || $month > 12) {
311 311
             throw new midcom_error_notfound("The month {$month} is not valid.");
312 312
         }
Please login to merge, or discard this patch.