Skip to content

Commit

Permalink
PMG-86 [fix] rename function
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Kralik committed Sep 19, 2018
1 parent ee0415c commit 4b11715
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
nbproject
tests/unit/sandbox.php
.idea
vendor
4 changes: 2 additions & 2 deletions autoloader/InstantAutoloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public function register()
\spl_autoload_register("__autoload");

}
\spl_autoload_register(array($this, "__autoload"));
\spl_autoload_register(array($this, "autoload"));
}

/**
Expand Down Expand Up @@ -140,7 +140,7 @@ public function setBasePath($basePath)
*
* @return void
*/
public function __autoload($class)
public function autoload($class)
{
$this->_normalizeClass($class);

Expand Down
4 changes: 2 additions & 2 deletions tests/autoloader/InstantAutoloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public function register()
\spl_autoload_register("__autoload");

}
\spl_autoload_register(array($this, "__autoload"));
\spl_autoload_register(array($this, "autoload"));
}

/**
Expand Down Expand Up @@ -140,7 +140,7 @@ public function setBasePath($basePath)
*
* @return void
*/
public function __autoload($class)
public function autoload($class)
{
$this->_normalizeClass($class);

Expand Down

0 comments on commit 4b11715

Please sign in to comment.