@@ -32,7 +32,7 @@ |
||
32 | 32 | $configArray = isset($configArray['paginator_manager']) ? $configArray['paginator_manager'] : array(); |
33 | 33 | $config = new PaginatorServiceConfig($configArray); |
34 | 34 | |
35 | - $service = new PaginatorService($config); |
|
35 | + $service = new PaginatorService($config); |
|
36 | 36 | |
37 | 37 | return $service; |
38 | 38 | } |
@@ -1,12 +1,12 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - * @author [email protected] |
|
9 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + * @author [email protected] |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace Core\Paginator; |
12 | 12 | |
@@ -23,8 +23,8 @@ discard block |
||
23 | 23 | { |
24 | 24 | |
25 | 25 | /** (non-PHPdoc) |
26 | - * @see \Zend\ServiceManager\FactoryInterface::createService() |
|
27 | - */ |
|
26 | + * @see \Zend\ServiceManager\FactoryInterface::createService() |
|
27 | + */ |
|
28 | 28 | public function createService(ServiceLocatorInterface $serviceLocator) |
29 | 29 | { |
30 | 30 |
@@ -45,10 +45,10 @@ |
||
45 | 45 | |
46 | 46 | public function __call($method, $params) |
47 | 47 | { |
48 | - $type = substr($method, 0, 3); |
|
48 | + $type = substr($method, 0, 3); |
|
49 | 49 | |
50 | 50 | if ('get' == $type || 'set' == $type) { |
51 | - $filter = function ($match) { |
|
51 | + $filter = function($match) { |
|
52 | 52 | return '_' . strtolower($match[0]); |
53 | 53 | }; |
54 | 54 | $key = lcfirst(substr($method, 3)); |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** SettingsEntityResolverFactory.php */ |
11 | 11 | namespace Settings\Repository; |
@@ -58,7 +58,7 @@ |
||
58 | 58 | } |
59 | 59 | |
60 | 60 | |
61 | - $dm = $eventArgs->getDocumentManager(); |
|
61 | + $dm = $eventArgs->getDocumentManager(); |
|
62 | 62 | $uow = $dm->getUnitOfWork(); |
63 | 63 | $changeset = $uow->getDocumentChangeset($document); |
64 | 64 | $filter = $this->getKeywordsFilter(); |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** SettingsEntityResolverFactory.php */ |
11 | 11 | namespace Settings\Repository; |
@@ -42,8 +42,8 @@ |
||
42 | 42 | $document->preUpdate($prePersist); |
43 | 43 | |
44 | 44 | if (!$prePersist) { |
45 | - $dm = $eventArgs->getDocumentManager(); |
|
46 | - $uow = $dm->getUnitOfWork(); |
|
45 | + $dm = $eventArgs->getDocumentManager(); |
|
46 | + $uow = $dm->getUnitOfWork(); |
|
47 | 47 | $uow->recomputeSingleDocumentChangeSet($dm->getClassMetadata(get_class($document)), $document); |
48 | 48 | } |
49 | 49 |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** SettingsEntityResolverFactory.php */ |
11 | 11 | namespace Settings\Repository; |
@@ -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 | } |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** SettingsEntityResolverFactory.php */ |
11 | 11 | namespace Settings\Repository; |
@@ -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 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013 - 2016 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 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** SettingsEntityResolverFactory.php */ |
11 | 11 | namespace Settings\Repository; |