@@ -143,11 +143,11 @@ |
||
143 | 143 | if ($value === null) { |
144 | 144 | continue; |
145 | 145 | } |
146 | - if (! is_array($value)) { |
|
146 | + if (!is_array($value)) { |
|
147 | 147 | if ($key === null) { |
148 | 148 | $result[$nextIndex] = $value; |
149 | 149 | } else { |
150 | - if (! is_object($value) || method_exists($value, "__toString")) { |
|
150 | + if (!is_object($value) || method_exists($value, "__toString")) { |
|
151 | 151 | $result[$nextIndex] = $value; |
152 | 152 | } |
153 | 153 | } |
@@ -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,13 +1,13 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * (this file is taken from ZF 2.2) |
|
6 | - * |
|
7 | - * @filesource |
|
8 | - * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
9 | - * @license MIT |
|
10 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * (this file is taken from ZF 2.2) |
|
6 | + * |
|
7 | + * @filesource |
|
8 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
9 | + * @license MIT |
|
10 | + */ |
|
11 | 11 | |
12 | 12 | /** LoggerAbstractFactory.php */ |
13 | 13 | namespace Core\Log; |
@@ -26,7 +26,7 @@ |
||
26 | 26 | $configArray = isset($configArray['mails']) ? $configArray['mails'] : array(); |
27 | 27 | $config = new MailServiceConfig($configArray); |
28 | 28 | |
29 | - $service = new MailService($config); |
|
29 | + $service = new MailService($config); |
|
30 | 30 | |
31 | 31 | return $service; |
32 | 32 |
@@ -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,12 +1,12 @@ |
||
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 | - * @author [email protected] |
|
9 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + * @author [email protected] |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace Core\Options; |
12 | 12 |
@@ -1,12 +1,12 @@ 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 | - * @author [email protected] |
|
9 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013-2015 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 |
@@ -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 | } |
@@ -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-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; |
@@ -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-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; |
@@ -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-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; |
@@ -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-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; |