Style fixes.
This commit is contained in:
parent
a7a59b690a
commit
be4950ff88
43 changed files with 187 additions and 149 deletions
|
|
@ -14,7 +14,7 @@ abstract class AbstractHelper implements InjectionAwareInterface
|
|||
*
|
||||
* @param DiInterface $container
|
||||
*/
|
||||
public function setDI(DiInterface $container) : void
|
||||
public function setDI(DiInterface $container): void
|
||||
{
|
||||
$this->_di = $container;
|
||||
}
|
||||
|
|
@ -24,7 +24,7 @@ abstract class AbstractHelper implements InjectionAwareInterface
|
|||
*
|
||||
* @return DiInterface
|
||||
*/
|
||||
public function getDI() : DiInterface
|
||||
public function getDI(): DiInterface
|
||||
{
|
||||
return $this->_di;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ class Icon extends AbstractHelper
|
|||
|
||||
if (is_array($args)) {
|
||||
|
||||
foreach($args as $arg) {
|
||||
foreach ($args as $arg) {
|
||||
$classes[] .= 'fa-' . $arg;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -33,7 +33,8 @@ class ServerUrl extends AbstractHelper
|
|||
|
||||
// remove port if it's the default port.
|
||||
if (($scheme == 'http' && $port == 80)
|
||||
|| ($scheme == 'https' && $port == 443)) {
|
||||
|| ($scheme == 'https' && $port == 443)
|
||||
) {
|
||||
$port = null;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ class Service implements InjectionAwareInterface
|
|||
*
|
||||
* @param DiInterface $container
|
||||
*/
|
||||
public function setDI(DiInterface $container) : void
|
||||
public function setDI(DiInterface $container): void
|
||||
{
|
||||
$this->_di = $container;
|
||||
}
|
||||
|
|
@ -26,7 +26,7 @@ class Service implements InjectionAwareInterface
|
|||
*
|
||||
* @return DiInterface
|
||||
*/
|
||||
public function getDI() : DiInterface
|
||||
public function getDI(): DiInterface
|
||||
{
|
||||
return $this->_di;
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue