@@ -477,7 +477,7 @@ discard block |
||
477 | 477 | // Cookies... |
478 | 478 | array('cookiename', $txt['cookie_name'], 'file', 'text', 20), |
479 | 479 | array('cookieTime', $txt['cookieTime'], 'db', 'select', array_filter(array_map( |
480 | - function ($str) use ($txt) |
|
480 | + function($str) use ($txt) |
|
481 | 481 | { |
482 | 482 | return isset($txt[$str]) ? $txt[$str] : ''; |
483 | 483 | }, |
@@ -1439,7 +1439,7 @@ discard block |
||
1439 | 1439 | // Obviously, we don't need null here. |
1440 | 1440 | $def['type'] = array_filter( |
1441 | 1441 | $def['type'], |
1442 | - function ($type) |
|
1442 | + function($type) |
|
1443 | 1443 | { |
1444 | 1444 | return $type !== 'NULL'; |
1445 | 1445 | } |
@@ -1765,7 +1765,7 @@ discard block |
||
1765 | 1765 | $cacheAPIdir = $sourcedir . '/Cache'; |
1766 | 1766 | |
1767 | 1767 | $loadedApis = array(); |
1768 | - $apis_dir = $cacheAPIdir .'/'. CacheApi::APIS_FOLDER; |
|
1768 | + $apis_dir = $cacheAPIdir . '/' . CacheApi::APIS_FOLDER; |
|
1769 | 1769 | |
1770 | 1770 | $api_classes = new GlobIterator($apis_dir . '/*.php', FilesystemIterator::NEW_CURRENT_AND_KEY); |
1771 | 1771 |