We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -189,13 +189,13 @@ |
||
189 | 189 | // If the default Page Length isn't in the menu's values, Add it the beginnin and resort all to show a croissant list. |
190 | 190 | // assume both array are the same lenght. |
191 | 191 | if (!in_array($this->getDefaultPageLength(), $this->page_length_menu[0])) { |
192 | - // Loop through 2 arrays of prop. page_length_menu |
|
193 | - foreach ($this->page_length_menu as $key => &$page_length_choices) { |
|
192 | + // Loop through 2 arrays of prop. page_length_menu |
|
193 | + foreach ($this->page_length_menu as $key => &$page_length_choices) { |
|
194 | 194 | // This is a condition that should be always true. |
195 | 195 | if (is_array($page_length_choices)) { |
196 | - array_unshift($page_length_choices, $this->getDefaultPageLength()); |
|
196 | + array_unshift($page_length_choices, $this->getDefaultPageLength()); |
|
197 | + } |
|
197 | 198 | } |
198 | - } |
|
199 | 199 | } |
200 | 200 | } |
201 | 201 |