@@ -1,17 +1,17 @@  | 
                                                    ||
| 1 | 1 | <?php  | 
                                                        
| 2 | 2 | // Composer's autoloader  | 
                                                        
| 3 | -if (is_file(__DIR__ . '/../../autoload.php')) { | 
                                                        |
| 4 | - require_once __DIR__ . '/../../autoload.php';  | 
                                                        |
| 3 | +if (is_file(__DIR__.'/../../autoload.php')) { | 
                                                        |
| 4 | + require_once __DIR__.'/../../autoload.php';  | 
                                                        |
| 5 | 5 | }  | 
                                                        
| 6 | 6 | |
| 7 | 7 | // Darya's autoloader  | 
                                                        
| 8 | -require_once __DIR__ . '/src/Darya/Foundation/Autoloader.php';  | 
                                                        |
| 8 | +require_once __DIR__.'/src/Darya/Foundation/Autoloader.php';  | 
                                                        |
| 9 | 9 | |
| 10 | 10 | use Darya\Foundation\Autoloader;  | 
                                                        
| 11 | 11 | |
| 12 | 12 | // Base path wherever it's included from, absolute path to the framework  | 
                                                        
| 13 | 13 |  $autoloader = new Autoloader(realpath('./'), [ | 
                                                        
| 14 | - 'Darya' => realpath(__DIR__ . '/src')  | 
                                                        |
| 14 | + 'Darya' => realpath(__DIR__.'/src')  | 
                                                        |
| 15 | 15 | ]);  | 
                                                        
| 16 | 16 | |
| 17 | 17 | $autoloader->register();  | 
                                                        
@@ -78,7 +78,7 @@  | 
                                                    ||
| 78 | 78 | */  | 
                                                        
| 79 | 79 | protected static function snakeToCamel(string $string)  | 
                                                        
| 80 | 80 |  	{ | 
                                                        
| 81 | -		return preg_replace_callback('/_(.)/', function ($matches) { | 
                                                        |
| 81 | +		return preg_replace_callback('/_(.)/', function($matches) { | 
                                                        |
| 82 | 82 | return strtoupper($matches[1]);  | 
                                                        
| 83 | 83 | }, $string);  | 
                                                        
| 84 | 84 | }  |