@@ -17,7 +17,7 @@ discard block |
||
| 17 | 17 | * Format constructor. |
| 18 | 18 | * @param null $path_time_stamp |
| 19 | 19 | */ |
| 20 | - public function __construct($path_time_stamp=null) |
|
| 20 | + public function __construct($path_time_stamp = null) |
|
| 21 | 21 | { |
| 22 | 22 | if (!empty($path_time_stamp)) { |
| 23 | 23 | $this->path_time_stamp = $path_time_stamp; |
@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | * @param string|null $name |
| 32 | 32 | * @return string |
| 33 | 33 | */ |
| 34 | - public function getMigrationName($type, $name=null) |
|
| 34 | + public function getMigrationName($type, $name = null) |
|
| 35 | 35 | { |
| 36 | 36 | $dir_name = 'm'.$this->path_time_stamp.'_'; |
| 37 | 37 | if (empty($name)) { |
@@ -60,9 +60,9 @@ discard block |
||
| 60 | 60 | * |
| 61 | 61 | * @return string |
| 62 | 62 | */ |
| 63 | - public function prettyVarExport($data, $tabs=1) |
|
| 63 | + public function prettyVarExport($data, $tabs = 1) |
|
| 64 | 64 | { |
| 65 | - $spacing = str_repeat(' ', 4*$tabs); |
|
| 65 | + $spacing = str_repeat(' ', 4 * $tabs); |
|
| 66 | 66 | |
| 67 | 67 | $string = ''; |
| 68 | 68 | $parts = preg_split('/\R/', var_export($data, true)); |