@@ -6,13 +6,13 @@ discard block |
||
| 6 | 6 | * @param string $class The fully-qualified class name. |
| 7 | 7 | * @return void |
| 8 | 8 | */ |
| 9 | -spl_autoload_register(function ($class) { |
|
| 9 | +spl_autoload_register(function($class) { |
|
| 10 | 10 | |
| 11 | 11 | // project-specific namespace prefix |
| 12 | 12 | $prefix = 'EncreInformatique\\DoctorSenderApi\\'; |
| 13 | 13 | |
| 14 | 14 | // base directory for the namespace prefix |
| 15 | - $base_dir = __DIR__ . '/src/'; |
|
| 15 | + $base_dir = __DIR__.'/src/'; |
|
| 16 | 16 | |
| 17 | 17 | // does the class use the namespace prefix? |
| 18 | 18 | $len = strlen($prefix); |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | // replace the namespace prefix with the base directory, replace namespace |
| 28 | 28 | // separators with directory separators in the relative class name, append |
| 29 | 29 | // with .php |
| 30 | - $file = $base_dir . str_replace('\\', '/', $relative_class) . '.php'; |
|
| 30 | + $file = $base_dir.str_replace('\\', '/', $relative_class).'.php'; |
|
| 31 | 31 | |
| 32 | 32 | // if the file exists, require it |
| 33 | 33 | if (file_exists($file)) { |
@@ -62,7 +62,7 @@ discard block |
||
| 62 | 62 | } |
| 63 | 63 | |
| 64 | 64 | if (isset($sqlWhereDate)) { |
| 65 | - $sqlWhere.= ' and '.$sqlWhereDate; |
|
| 65 | + $sqlWhere .= ' and '.$sqlWhereDate; |
|
| 66 | 66 | } |
| 67 | 67 | } |
| 68 | 68 | |
@@ -75,7 +75,7 @@ discard block |
||
| 75 | 75 | |
| 76 | 76 | $sqlWhereList = 'user_list = \''.$options['list'].'\''; |
| 77 | 77 | |
| 78 | - $sqlWhere.= ' and '.$sqlWhereList; |
|
| 78 | + $sqlWhere .= ' and '.$sqlWhereList; |
|
| 79 | 79 | } |
| 80 | 80 | |
| 81 | 81 | /* |