Skip to content

Commit a850718

Browse files
committed
brace on a new line
1 parent 6f057bf commit a850718

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/Autoloader.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,16 @@ class Autoloader
1111
/**
1212
* Autoloader constructor.
1313
*/
14-
public function __construct() {
14+
public function __construct()
15+
{
1516
spl_autoload_register(array($this, '__autoload'));
1617
}
1718

1819
/**
1920
* @param string $class
2021
*/
21-
private function __autoload($class) {
22+
private function __autoload($class)
23+
{
2224
$class = str_replace('\\', '/', $class); // revert path for old PHP on Linux
2325
$dir = str_replace('\\', '/', __DIR__);
2426
if(file_exists($dir . '/' . $class . '.php')) {

0 commit comments

Comments
 (0)