@@ -99,7 +99,7 @@ |
||
99 | 99 | } |
100 | 100 | |
101 | 101 | $timestamp = $value['date']->sec; |
102 | - $date = new \DateTime('@'.$timestamp); |
|
102 | + $date = new \DateTime('@' . $timestamp); |
|
103 | 103 | $date->setTimezone(new \DateTimeZone($value['tz'])); |
104 | 104 | return $date; |
105 | 105 | } |
@@ -89,11 +89,11 @@ discard block |
||
89 | 89 | $config = $this->serviceManager->get('Config'); |
90 | 90 | $appConfig = $this->serviceManager->get('ApplicationConfig'); |
91 | 91 | foreach ($appConfig['modules'] as $module) { |
92 | - $this->config[$module] = array_key_exists($module, $config)?$config[$module]:array(); |
|
92 | + $this->config[$module] = array_key_exists($module, $config) ? $config[$module] : array(); |
|
93 | 93 | } |
94 | 94 | } |
95 | 95 | if (isset($namespace)) { |
96 | - return array_key_exists($namespace, $this->config)?$this->config[$namespace]: array(); |
|
96 | + return array_key_exists($namespace, $this->config) ? $this->config[$namespace] : array(); |
|
97 | 97 | } |
98 | 98 | return $this->config; |
99 | 99 | } |
@@ -106,7 +106,7 @@ discard block |
||
106 | 106 | } |
107 | 107 | if (!empty($this->map[$key])) { |
108 | 108 | $module = $this->getNamespace(); |
109 | - return isset($this->map[$key][$module])?$this->map[$key][$module]:array(); |
|
109 | + return isset($this->map[$key][$module]) ? $this->map[$key][$module] : array(); |
|
110 | 110 | } |
111 | 111 | return array(); |
112 | 112 | } |
@@ -14,6 +14,9 @@ |
||
14 | 14 | |
15 | 15 | class OrganizationName extends AbstractRepository |
16 | 16 | { |
17 | + /** |
|
18 | + * @param string $name |
|
19 | + */ |
|
17 | 20 | public function findbyName($name, $create = true) |
18 | 21 | { |
19 | 22 | $entity = $this->findOneBy(array('name' => $name)); |
@@ -60,7 +60,7 @@ |
||
60 | 60 | foreach ($this->fileNames as $obj) { |
61 | 61 | if (is_string($obj)) { |
62 | 62 | if (array_key_exists($obj, $this->fileObjects)) { |
63 | - $erg[] = $this->fileObjects[$obj]; |
|
63 | + $erg[] = $this->fileObjects[$obj]; |
|
64 | 64 | } |
65 | 65 | } else { |
66 | 66 | $erg[] = $obj; |
@@ -66,9 +66,9 @@ |
||
66 | 66 | } |
67 | 67 | |
68 | 68 | $output = '<div class="br-widget br-readonly ' |
69 | - . ('compact' == $mode ? ' br-compact' : '' ) |
|
69 | + . ('compact' == $mode ? ' br-compact' : '') |
|
70 | 70 | . '" title="' . $this->getView()->translate(self::$ratingValueMap[$rating]) . '">'; |
71 | - for ($i=1; $i<6; $i++) { |
|
71 | + for ($i = 1; $i < 6; $i++) { |
|
72 | 72 | $class = $i <= $rating ? 'br-selected' : ''; |
73 | 73 | $class .= $i == $rating ? ' br-current' : ''; |
74 | 74 |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** SettingsEntityResolverFactory.php */ |
11 | 11 | namespace Settings\Repository; |
@@ -22,7 +22,7 @@ |
||
22 | 22 | */ |
23 | 23 | public function __invoke($gender) |
24 | 24 | { |
25 | - $return=""; |
|
25 | + $return = ""; |
|
26 | 26 | switch ($gender) { |
27 | 27 | case "male": |
28 | 28 | $return = "Mr."; |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** SettingsEntityResolverFactory.php */ |
11 | 11 | namespace Settings\Repository; |
@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | namespace Core\View\Helper\Service; |
11 | 11 | |
@@ -58,8 +58,8 @@ discard block |
||
58 | 58 | } |
59 | 59 | |
60 | 60 | if (is_string($specs)) { |
61 | - $helper->appendScript('// if you are missing the script ' . $specs . ' look up your config and enclose it in an array'); |
|
62 | - continue; |
|
61 | + $helper->appendScript('// if you are missing the script ' . $specs . ' look up your config and enclose it in an array'); |
|
62 | + continue; |
|
63 | 63 | } |
64 | 64 | |
65 | 65 | foreach ($specs as $spec) { |
@@ -15,7 +15,7 @@ |
||
15 | 15 | * for multiple paths. |
16 | 16 | * example https://github.com/doctrine/DoctrineORMModule |
17 | 17 | */ |
18 | - 'paths' => array( __DIR__ . '/../src/Cv/Entity'), |
|
18 | + 'paths' => array(__DIR__ . '/../src/Cv/Entity'), |
|
19 | 19 | ), |
20 | 20 | ), |
21 | 21 | ), |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | */ |
34 | 34 | public function setName($name) |
35 | 35 | { |
36 | - $this->name=$name; |
|
36 | + $this->name = $name; |
|
37 | 37 | } |
38 | 38 | |
39 | 39 | /** |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | */ |
52 | 52 | public function setLevel($level) |
53 | 53 | { |
54 | - $this->level=$level; |
|
54 | + $this->level = $level; |
|
55 | 55 | } |
56 | 56 | |
57 | 57 | /** |
@@ -78,7 +78,7 @@ |
||
78 | 78 | */ |
79 | 79 | public function setCurrentIndicator($currentIndicator) |
80 | 80 | { |
81 | - $this->currentIndicator=$currentIndicator; |
|
81 | + $this->currentIndicator = $currentIndicator; |
|
82 | 82 | return $this; |
83 | 83 | } |
84 | 84 |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** SettingsEntityResolverFactory.php */ |
11 | 11 | namespace Settings\Repository; |