Swapped all array() for the shorthand []
Also finished up coverage on the Cache class.
This commit is contained in:
parent
aecdd0981f
commit
200988eecf
17 changed files with 115 additions and 97 deletions
|
@ -49,7 +49,7 @@ class File
|
|||
// Loop through said files, check for directories, and unlink files
|
||||
foreach ($files as $file)
|
||||
{
|
||||
if (!in_array($file, array('.', '..')))
|
||||
if (!in_array($file, ['.', '..']))
|
||||
{
|
||||
if (is_dir($directory . $file))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue