@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -return function ($step = NULL, $params = []) { |
|
| 3 | +return function($step = NULL, $params = []) { |
|
| 4 | 4 | |
| 5 | 5 | $groups = [ |
| 6 | 6 | [ |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -return function ($step = NULL, $params = []) { |
|
| 3 | +return function($step = NULL, $params = []) { |
|
| 4 | 4 | |
| 5 | 5 | $groups = [ |
| 6 | 6 | [ |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -return function ($step = NULL, $params = []) { |
|
| 3 | +return function($step = NULL, $params = []) { |
|
| 4 | 4 | |
| 5 | 5 | $groups = [ |
| 6 | 6 | [ |
@@ -97,13 +97,13 @@ |
||
| 97 | 97 | if ($this->first_name . $this->last_name . $this->middle_name) { |
| 98 | 98 | $name = ''; |
| 99 | 99 | if ($this->first_name) { |
| 100 | - $name.=$this->first_name; |
|
| 100 | + $name .= $this->first_name; |
|
| 101 | 101 | } |
| 102 | 102 | if ($this->middle_name) { |
| 103 | - $name.=($name ? ' ' : '') . $this->middle_name; |
|
| 103 | + $name .= ($name ? ' ' : '') . $this->middle_name; |
|
| 104 | 104 | } |
| 105 | 105 | if ($this->last_name) { |
| 106 | - $name.=($name ? ' ' : '') . $this->last_name; |
|
| 106 | + $name .= ($name ? ' ' : '') . $this->last_name; |
|
| 107 | 107 | } |
| 108 | 108 | return $name; |
| 109 | 109 | } else { |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | * Get all posible directorys for module files |
| 82 | 82 | * |
| 83 | 83 | * @param string $moduleName |
| 84 | - * @return array |
|
| 84 | + * @return string |
|
| 85 | 85 | */ |
| 86 | 86 | public static function getModulePaths($moduleName) |
| 87 | 87 | { |
@@ -131,7 +131,7 @@ discard block |
||
| 131 | 131 | * Get installed modules for app |
| 132 | 132 | * |
| 133 | 133 | * @param \App $app |
| 134 | - * @param boolean|\App $primary |
|
| 134 | + * @param App $primary |
|
| 135 | 135 | * @return array |
| 136 | 136 | */ |
| 137 | 137 | public static function getInstalled($app, $primary = false) |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | $buttons = []; |
| 12 | 12 | foreach ($actions as $action => $actionParams) { |
| 13 | 13 | if (class_exists($actionParams['className']) && $actionParams['className']::$rowAction) { |
| 14 | - $buttons[]= $actionParams['className']::rowButton($dataManager, $item, $params, $actionParams); |
|
| 14 | + $buttons[] = $actionParams['className']::rowButton($dataManager, $item, $params, $actionParams); |
|
| 15 | 15 | } |
| 16 | 16 | } |
| 17 | 17 | echo implode(' ', $buttons); |