Swapped all array() for the shorthand []

Also finished up coverage on the Cache class.
This commit is contained in:
Joshua Sherman 2014-01-15 14:09:54 -05:00
parent aecdd0981f
commit 200988eecf
17 changed files with 115 additions and 97 deletions

View file

@ -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))
{