From b3b309cabf3ef4d291355629e33f11923ca287d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Sun, 2 Dec 2012 14:12:48 +0100 Subject: [PATCH] Add space between 'function' and '(' --- src/ClassMapAutoloader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ClassMapAutoloader.php b/src/ClassMapAutoloader.php index 525c5c1..4141288 100644 --- a/src/ClassMapAutoloader.php +++ b/src/ClassMapAutoloader.php @@ -206,7 +206,7 @@ public static function realPharPath($path) } $parts = explode('/', str_replace(array('/','\\'), '/', substr($path, 8))); - $parts = array_values(array_filter($parts, function($p) { + $parts = array_values(array_filter($parts, function ($p) { return ($p !== '' && $p !== '.'); }));