@@ -76,7 +76,7 @@ discard block |
||
| 76 | 76 | [ |
| 77 | 77 | 'job' => $job, |
| 78 | 78 | 'user' => $employee->getUser(), |
| 79 | - 'bcc' => $adminSettings->getMailBCC() ? [ $admin ] : null, |
|
| 79 | + 'bcc' => $adminSettings->getMailBCC() ? [$admin] : null, |
|
| 80 | 80 | ] |
| 81 | 81 | ); |
| 82 | 82 | } |
@@ -94,7 +94,7 @@ discard block |
||
| 94 | 94 | [ |
| 95 | 95 | 'job' => $this->application->getJob(), |
| 96 | 96 | 'user' => $recruiter, |
| 97 | - 'bcc' => $adminSettings->getMailBCC() ? [ $admin ] : null, |
|
| 97 | + 'bcc' => $adminSettings->getMailBCC() ? [$admin] : null, |
|
| 98 | 98 | ] |
| 99 | 99 | ); |
| 100 | 100 | } |
@@ -111,7 +111,7 @@ discard block |
||
| 111 | 111 | [ |
| 112 | 112 | 'application' => $this->application, |
| 113 | 113 | 'body' => $ackBody, |
| 114 | - 'bcc' => $adminSettings->getMailBCC() ? [ $admin ] : null, |
|
| 114 | + 'bcc' => $adminSettings->getMailBCC() ? [$admin] : null, |
|
| 115 | 115 | ] |
| 116 | 116 | ); |
| 117 | 117 | |
@@ -109,7 +109,7 @@ |
||
| 109 | 109 | |
| 110 | 110 | /** |
| 111 | 111 | * @param ServiceLocatorInterface $formManager |
| 112 | - * @return AbstractSettingsForm |
|
| 112 | + * @return DisableElementsCapableFormSettingsFieldset |
|
| 113 | 113 | */ |
| 114 | 114 | public static function factory(ServiceLocatorInterface $formManager) |
| 115 | 115 | { |
@@ -39,7 +39,7 @@ |
||
| 39 | 39 | |
| 40 | 40 | $config = new MailServiceConfig($configArray); |
| 41 | 41 | |
| 42 | - $service = new MailService($serviceLocator, $config); |
|
| 42 | + $service = new MailService($serviceLocator, $config); |
|
| 43 | 43 | |
| 44 | 44 | return $service; |
| 45 | 45 | |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | $response = $this->getResponse(); |
| 51 | 51 | |
| 52 | 52 | try { |
| 53 | - $repository = $this->serviceLocator->get('repositories')->get($module . '/' . $entityName); |
|
| 53 | + $repository = $this->serviceLocator->get('repositories')->get($module.'/'.$entityName); |
|
| 54 | 54 | } catch (\Exception $e) { |
| 55 | 55 | $response->setStatusCode(404); |
| 56 | 56 | $this->getEvent()->setParam('exception', $e); |
@@ -84,7 +84,7 @@ discard block |
||
| 84 | 84 | |
| 85 | 85 | $this->acl($file); |
| 86 | 86 | |
| 87 | - $headers=$response->getHeaders(); |
|
| 87 | + $headers = $response->getHeaders(); |
|
| 88 | 88 | |
| 89 | 89 | $headers->addHeaderline('Content-Type', $file->getType()) |
| 90 | 90 | ->addHeaderline('Content-Length', $file->getLength()); |
@@ -56,7 +56,7 @@ |
||
| 56 | 56 | */ |
| 57 | 57 | public function postDispatch(MvcEvent $e) |
| 58 | 58 | { |
| 59 | - // $view = $this->serviceLocator->get('view'); |
|
| 59 | + // $view = $this->serviceLocator->get('view'); |
|
| 60 | 60 | |
| 61 | 61 | } |
| 62 | 62 | |
@@ -214,7 +214,7 @@ discard block |
||
| 214 | 214 | public function __call($method, $args) |
| 215 | 215 | { |
| 216 | 216 | if (0 !== strpos($method, 'do')) { |
| 217 | - throw new \BadMethodCallException('Unknown method "' . $method . '"'); |
|
| 217 | + throw new \BadMethodCallException('Unknown method "'.$method.'"'); |
|
| 218 | 218 | } |
| 219 | 219 | |
| 220 | 220 | $name = substr($method, 2); |
@@ -248,7 +248,7 @@ discard block |
||
| 248 | 248 | } |
| 249 | 249 | |
| 250 | 250 | if ($method && method_exists($listener, $method)) { |
| 251 | - return call_user_func_array([ $listener, $method ], $args); |
|
| 251 | + return call_user_func_array([$listener, $method], $args); |
|
| 252 | 252 | } |
| 253 | 253 | |
| 254 | 254 | if (is_callable($listener)) { |
@@ -257,7 +257,7 @@ discard block |
||
| 257 | 257 | |
| 258 | 258 | throw new \UnexpectedValueException(sprintf( |
| 259 | 259 | 'Deferred listener %s%s is not callable.', |
| 260 | - get_class($listener), $method ? ' has no method "' . $method . '" and ' : '' |
|
| 260 | + get_class($listener), $method ? ' has no method "'.$method.'" and ' : '' |
|
| 261 | 261 | )); |
| 262 | 262 | } |
| 263 | 263 | |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | */ |
| 32 | 32 | public function __construct(LoginFilterService $loginFilter) |
| 33 | 33 | { |
| 34 | - $this->loginFilter = $loginFilter;; |
|
| 34 | + $this->loginFilter = $loginFilter; ; |
|
| 35 | 35 | } |
| 36 | 36 | |
| 37 | 37 | /** |
@@ -56,6 +56,6 @@ |
||
| 56 | 56 | $form = new static(); |
| 57 | 57 | $form->forms = $forms; |
| 58 | 58 | |
| 59 | - return $form; |
|
| 59 | + return $form; |
|
| 60 | 60 | } |
| 61 | 61 | } |
@@ -57,7 +57,7 @@ |
||
| 57 | 57 | protected function filterArrayStrings($array, $search, $replace) |
| 58 | 58 | { |
| 59 | 59 | $return = array(); |
| 60 | - foreach ((array)$array as $key => $value) { |
|
| 60 | + foreach ((array) $array as $key => $value) { |
|
| 61 | 61 | $key = str_replace($search, $replace, $key); |
| 62 | 62 | $value = is_array($value) |
| 63 | 63 | ? $this->filterArrayStrings($value, $search, $replace) |