Permalink
Browse files

Make autoload_function.php be php-cs-fixer friendly

  • Loading branch information...
1 parent 5800695 commit a5f7c4a6ffe1b699e2ca737645b6abde7139f9d1 @EvanDotPro committed Sep 12, 2012
Showing with 4 additions and 3 deletions.
  1. +4 −3 autoload_function.php
@@ -1,12 +1,13 @@
<?php
-return function ($class) {
+return function ($className) {
static $map;
if (!$map) {
$map = include __DIR__ . '/autoload_classmap.php';
}
- if (!isset($map[$class])) {
+ if (!isset($map[$className])) {
return false;
}
- return include $map[$class];
+
+ return include $map[$className];
};

0 comments on commit a5f7c4a

Please sign in to comment.