@@ -9,7 +9,7 @@ |
||
9 | 9 | public function __construct($property, $value = null) |
10 | 10 | { |
11 | 11 | $this->property = $property; |
12 | - $this->value = $value; |
|
12 | + $this->value = $value; |
|
13 | 13 | } |
14 | 14 | |
15 | 15 | public function getProperty() |
@@ -41,7 +41,6 @@ |
||
41 | 41 | /** |
42 | 42 | * Sets the path to the file |
43 | 43 | * |
44 | - * @param string $path to the file |
|
45 | 44 | * @return MailDomain Provides a fluent interface |
46 | 45 | * @throws Exception\InvalidArgumentException When file is not found |
47 | 46 | */ |
@@ -10,7 +10,7 @@ discard block |
||
10 | 10 | const FORBIDDEN = 'FORBIDDEN'; |
11 | 11 | |
12 | 12 | protected $options = array( |
13 | - 'file' => null, // File containing the authorized domains |
|
13 | + 'file' => null, // File containing the authorized domains |
|
14 | 14 | ); |
15 | 15 | |
16 | 16 | protected $messageTemplates = array( |
@@ -20,9 +20,9 @@ discard block |
||
20 | 20 | public function __construct($options = null) |
21 | 21 | { |
22 | 22 | if (is_string($options)) { |
23 | - $this->options = array('file' => str_replace('\\', '/', getcwd()) . '/' . ltrim($options, '/')); |
|
23 | + $this->options = array('file' => str_replace('\\', '/', getcwd()).'/'.ltrim($options, '/')); |
|
24 | 24 | } elseif (is_array($options)) { |
25 | - $this->options = array('file' => str_replace('\\', '/', getcwd()) . '/' . ltrim(reset($options), '/')); |
|
25 | + $this->options = array('file' => str_replace('\\', '/', getcwd()).'/'.ltrim(reset($options), '/')); |
|
26 | 26 | } |
27 | 27 | |
28 | 28 | parent::__construct($this->options); |
@@ -11,7 +11,7 @@ discard block |
||
11 | 11 | 'playgroundcore_entity' => array( |
12 | 12 | 'class' => 'Doctrine\ORM\Mapping\Driver\AnnotationDriver', |
13 | 13 | 'cache' => 'array', |
14 | - 'paths' => __DIR__ . '/../src/PlaygroundCore/Entity' |
|
14 | + 'paths' => __DIR__.'/../src/PlaygroundCore/Entity' |
|
15 | 15 | ), |
16 | 16 | |
17 | 17 | 'orm_default' => array( |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | 'rule_providers' => array( |
54 | 54 | 'BjyAuthorize\Provider\Rule\Config' => array( |
55 | 55 | 'allow' => array( |
56 | - array(array('admin'), 'core', array('dashboard', 'edit')), |
|
56 | + array(array('admin'), 'core', array('dashboard', 'edit')), |
|
57 | 57 | ), |
58 | 58 | ), |
59 | 59 | ), |
@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | 'collections' => array( |
83 | 83 | 'core_flags' => array( |
84 | 84 | 'assets' => array( |
85 | - __DIR__ . '/../view/images/flag/*.png', |
|
85 | + __DIR__.'/../view/images/flag/*.png', |
|
86 | 86 | ), |
87 | 87 | 'options' => array( |
88 | 88 | 'move_raw' => true, |
@@ -515,25 +515,25 @@ discard block |
||
515 | 515 | 'translation_file_patterns' => array( |
516 | 516 | array( |
517 | 517 | 'type' => 'phpArray', |
518 | - 'base_dir' => __DIR__ . '/../../../../language', |
|
518 | + 'base_dir' => __DIR__.'/../../../../language', |
|
519 | 519 | 'pattern' => 'routes_%s.php', |
520 | 520 | 'text_domain' => 'routes' |
521 | 521 | ), |
522 | 522 | array( |
523 | 523 | 'type' => 'phpArray', |
524 | - 'base_dir' => __DIR__ . '/../language', |
|
524 | + 'base_dir' => __DIR__.'/../language', |
|
525 | 525 | 'pattern' => 'routes_%s.php', |
526 | 526 | 'text_domain' => 'routes' |
527 | 527 | ), |
528 | 528 | array( |
529 | 529 | 'type' => 'phpArray', |
530 | - 'base_dir' => __DIR__ . '/../../../../language', |
|
530 | + 'base_dir' => __DIR__.'/../../../../language', |
|
531 | 531 | 'pattern' => '%s.php', |
532 | 532 | 'text_domain' => 'playgroundcore' |
533 | 533 | ), |
534 | 534 | array( |
535 | 535 | 'type' => 'phpArray', |
536 | - 'base_dir' => __DIR__ . '/../language', |
|
536 | + 'base_dir' => __DIR__.'/../language', |
|
537 | 537 | 'pattern' => '%s.php', |
538 | 538 | 'text_domain' => 'playgroundcore' |
539 | 539 | ), |
@@ -542,8 +542,8 @@ discard block |
||
542 | 542 | |
543 | 543 | 'view_manager' => array( |
544 | 544 | 'template_path_stack' => array( |
545 | - __DIR__ . '/../view/admin', |
|
546 | - __DIR__ . '/../view/frontend', |
|
545 | + __DIR__.'/../view/admin', |
|
546 | + __DIR__.'/../view/frontend', |
|
547 | 547 | ), |
548 | 548 | ), |
549 | 549 |
@@ -138,19 +138,19 @@ discard block |
||
138 | 138 | ), |
139 | 139 | ), |
140 | 140 | ), |
141 | - // Give the possibility to call Cron from browser |
|
142 | - 'cron' => array( |
|
143 | - 'type' => 'Literal', |
|
144 | - 'options' => array( |
|
145 | - 'route' => 'cron', |
|
146 | - 'defaults' => array( |
|
147 | - 'controller' => 'playgroundcore_console', |
|
148 | - 'action' => 'cron' |
|
149 | - ), |
|
150 | - ), |
|
151 | - ), |
|
152 | - ), |
|
153 | - ), |
|
141 | + // Give the possibility to call Cron from browser |
|
142 | + 'cron' => array( |
|
143 | + 'type' => 'Literal', |
|
144 | + 'options' => array( |
|
145 | + 'route' => 'cron', |
|
146 | + 'defaults' => array( |
|
147 | + 'controller' => 'playgroundcore_console', |
|
148 | + 'action' => 'cron' |
|
149 | + ), |
|
150 | + ), |
|
151 | + ), |
|
152 | + ), |
|
153 | + ), |
|
154 | 154 | 'admin' => array( |
155 | 155 | 'type' => 'Literal', |
156 | 156 | 'priority' => -1000, |
@@ -447,7 +447,7 @@ discard block |
||
447 | 447 | 'list' => array( |
448 | 448 | 'type' => 'Segment', |
449 | 449 | 'options' => array( |
450 | - 'route' => '/list', |
|
450 | + 'route' => '/list', |
|
451 | 451 | 'defaults' => array( |
452 | 452 | 'controller' => 'PlaygroundCore\Controller\Admin\WebsiteAdmin', |
453 | 453 | 'action' => 'list', |
@@ -458,7 +458,7 @@ discard block |
||
458 | 458 | 'edit-active' => array( |
459 | 459 | 'type' => 'Segment', |
460 | 460 | 'options' => array( |
461 | - 'route' => '/edit-active/[:websiteId]', |
|
461 | + 'route' => '/edit-active/[:websiteId]', |
|
462 | 462 | 'defaults' => array( |
463 | 463 | 'controller' => 'PlaygroundCore\Controller\Admin\WebsiteAdmin', |
464 | 464 | 'action' => 'editactive', |
@@ -565,6 +565,6 @@ discard block |
||
565 | 565 | 'invokables' => array( |
566 | 566 | 'NotInBlacklist' => 'PlaygroundCore\Validator\Blacklist', |
567 | 567 | 'InMailDomainList' => 'PlaygroundCore\Validator\MailDomain', |
568 | - ), |
|
568 | + ), |
|
569 | 569 | ), |
570 | 570 | ); |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Zend Framework (http://framework.zend.com/) |
|
4 | - * |
|
5 | - * @link http://github.com/zendframework/zf2 for the canonical source repository |
|
6 | - * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
|
7 | - * @license http://framework.zend.com/license/new-bsd New BSD License |
|
8 | - */ |
|
3 | + * Zend Framework (http://framework.zend.com/) |
|
4 | + * |
|
5 | + * @link http://github.com/zendframework/zf2 for the canonical source repository |
|
6 | + * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
|
7 | + * @license http://framework.zend.com/license/new-bsd New BSD License |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | |
11 | 11 | /** |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | if (empty($locale) && in_array('cookie', $pgstrat)) { |
58 | 58 | $serviceManager->get('router')->setTranslator($translator); |
59 | 59 | if ($serviceManager->get('router')->match($serviceManager->get('request')) && |
60 | - strpos($serviceManager->get('router')->match($serviceManager->get('request'))->getMatchedRouteName(), 'admin') !==false |
|
60 | + strpos($serviceManager->get('router')->match($serviceManager->get('request'))->getMatchedRouteName(), 'admin') !== false |
|
61 | 61 | ) { |
62 | 62 | if ($e->getRequest()->getCookie() && |
63 | 63 | $e->getRequest()->getCookie()->offsetExists('pg_locale_back') |
@@ -158,7 +158,7 @@ discard block |
||
158 | 158 | |
159 | 159 | // Google Analytics : When the render event is triggered, we invoke the view helper to |
160 | 160 | // render the javascript code. |
161 | - $e->getApplication()->getEventManager()->attach(\Zend\Mvc\MvcEvent::EVENT_RENDER, function (\Zend\Mvc\MvcEvent $e) use ($serviceManager) { |
|
161 | + $e->getApplication()->getEventManager()->attach(\Zend\Mvc\MvcEvent::EVENT_RENDER, function(\Zend\Mvc\MvcEvent $e) use ($serviceManager) { |
|
162 | 162 | $view = $serviceManager->get('ViewHelperManager'); |
163 | 163 | $plugin = $view->get('googleAnalytics'); |
164 | 164 | $plugin(); |
@@ -185,8 +185,8 @@ discard block |
||
185 | 185 | // that they need to send the user back to FB... |
186 | 186 | |
187 | 187 | if (!count($_COOKIE) > 0 && strpos($_SERVER['HTTP_USER_AGENT'], 'Safari')) { |
188 | - echo '<script type="text/javascript">' . |
|
189 | - 'window.top.location.href = window.location.href+"?redir_fb_page_id='. $data["page"]["id"]. '";' . |
|
188 | + echo '<script type="text/javascript">'. |
|
189 | + 'window.top.location.href = window.location.href+"?redir_fb_page_id='.$data["page"]["id"].'";'. |
|
190 | 190 | '</script>'; |
191 | 191 | } |
192 | 192 | |
@@ -203,11 +203,11 @@ discard block |
||
203 | 203 | { |
204 | 204 | return array( |
205 | 205 | 'Zend\Loader\ClassMapAutoloader' => array( |
206 | - __DIR__ . '/../../autoload_classmap.php', |
|
206 | + __DIR__.'/../../autoload_classmap.php', |
|
207 | 207 | ), |
208 | 208 | 'Zend\Loader\StandardAutoloader' => array( |
209 | 209 | 'namespaces' => array( |
210 | - __NAMESPACE__ => __DIR__ . '/../../src/' . __NAMESPACE__, |
|
210 | + __NAMESPACE__ => __DIR__.'/../../src/'.__NAMESPACE__, |
|
211 | 211 | ), |
212 | 212 | ), |
213 | 213 | ); |
@@ -215,21 +215,21 @@ discard block |
||
215 | 215 | |
216 | 216 | public function getConfig() |
217 | 217 | { |
218 | - return include __DIR__ . '/../../config/module.config.php'; |
|
218 | + return include __DIR__.'/../../config/module.config.php'; |
|
219 | 219 | } |
220 | 220 | |
221 | 221 | public function getViewHelperConfig() |
222 | 222 | { |
223 | 223 | return array( |
224 | 224 | 'factories' => array( |
225 | - 'QgCKEditor' => function (\Zend\ServiceManager\ServiceManager $sm) { |
|
225 | + 'QgCKEditor' => function(\Zend\ServiceManager\ServiceManager $sm) { |
|
226 | 226 | $config = $sm->getServiceLocator()->get('config'); |
227 | 227 | $QuCk = new View\Helper\AdCKEditor($config['playgroundcore']['ckeditor']); |
228 | 228 | |
229 | 229 | return $QuCk; |
230 | 230 | }, |
231 | 231 | |
232 | - 'googleAnalytics' => function (\Zend\ServiceManager\ServiceManager $sm) { |
|
232 | + 'googleAnalytics' => function(\Zend\ServiceManager\ServiceManager $sm) { |
|
233 | 233 | $tracker = $sm->getServiceLocator()->get('google-analytics'); |
234 | 234 | |
235 | 235 | $helper = new View\Helper\GoogleAnalytics($tracker, $sm->getServiceLocator()->get('Request')); |
@@ -237,7 +237,7 @@ discard block |
||
237 | 237 | return $helper; |
238 | 238 | }, |
239 | 239 | |
240 | - 'facebookOpengraph' => function (\Zend\ServiceManager\ServiceManager $sm) { |
|
240 | + 'facebookOpengraph' => function(\Zend\ServiceManager\ServiceManager $sm) { |
|
241 | 241 | $tracker = $sm->getServiceLocator()->get('facebook-opengraph'); |
242 | 242 | |
243 | 243 | $helper = new View\Helper\FacebookOpengraph($tracker, $sm->getServiceLocator()->get('Request')); |
@@ -245,7 +245,7 @@ discard block |
||
245 | 245 | return $helper; |
246 | 246 | }, |
247 | 247 | |
248 | - 'twitterCard' => function (\Zend\ServiceManager\ServiceManager $sm) { |
|
248 | + 'twitterCard' => function(\Zend\ServiceManager\ServiceManager $sm) { |
|
249 | 249 | $viewHelper = new View\Helper\TwitterCard(); |
250 | 250 | $viewHelper->setConfig($sm->getServiceLocator()->get('twitter-card')); |
251 | 251 | $viewHelper->setRequest($sm->getServiceLocator()->get('Request')); |
@@ -253,7 +253,7 @@ discard block |
||
253 | 253 | return $viewHelper; |
254 | 254 | }, |
255 | 255 | |
256 | - 'switchLocaleWidget' => function (\Zend\ServiceManager\ServiceManager $sm) { |
|
256 | + 'switchLocaleWidget' => function(\Zend\ServiceManager\ServiceManager $sm) { |
|
257 | 257 | $viewHelper = new View\Helper\SwitchLocaleWidget(); |
258 | 258 | $viewHelper->setLocaleService($sm->getServiceLocator()->get('playgroundcore_locale_service')); |
259 | 259 | $viewHelper->setWebsiteService($sm->getServiceLocator()->get('playgroundcore_website_service')); |
@@ -262,7 +262,7 @@ discard block |
||
262 | 262 | return $viewHelper; |
263 | 263 | }, |
264 | 264 | |
265 | - 'countryName' => function (\Zend\ServiceManager\ServiceManager $sm) { |
|
265 | + 'countryName' => function(\Zend\ServiceManager\ServiceManager $sm) { |
|
266 | 266 | $service = $sm->getServiceLocator()->get('playgroundcore_country_service'); |
267 | 267 | $viewHelper = new View\Helper\CountryName($service); |
268 | 268 | |
@@ -304,29 +304,29 @@ discard block |
||
304 | 304 | 'playgroundcore_country_service' => 'PlaygroundCore\Service\Country', |
305 | 305 | ), |
306 | 306 | 'factories' => array( |
307 | - 'playgroundcore_module_options' => function (\Zend\ServiceManager\ServiceManager $sm) { |
|
307 | + 'playgroundcore_module_options' => function(\Zend\ServiceManager\ServiceManager $sm) { |
|
308 | 308 | $config = $sm->get('Configuration'); |
309 | 309 | |
310 | 310 | return new Options\ModuleOptions(isset($config['playgroundcore']) ? $config['playgroundcore'] : array()); |
311 | 311 | }, |
312 | 312 | |
313 | - 'playgroundcore_formgen_mapper' => function (\Zend\ServiceManager\ServiceManager $sm) { |
|
313 | + 'playgroundcore_formgen_mapper' => function(\Zend\ServiceManager\ServiceManager $sm) { |
|
314 | 314 | return new Mapper\Formgen($sm->get('playgroundcore_doctrine_em'), $sm->get('playgroundcore_module_options')); |
315 | 315 | }, |
316 | 316 | |
317 | - 'playgroundcore_website_mapper' => function (\Zend\ServiceManager\ServiceManager $sm) { |
|
317 | + 'playgroundcore_website_mapper' => function(\Zend\ServiceManager\ServiceManager $sm) { |
|
318 | 318 | |
319 | 319 | return new Mapper\Website($sm->get('playgroundcore_doctrine_em'), $sm->get('playgroundcore_module_options')); |
320 | 320 | }, |
321 | 321 | |
322 | - 'playgroundcore_locale_mapper' => function (\Zend\ServiceManager\ServiceManager $sm) { |
|
322 | + 'playgroundcore_locale_mapper' => function(\Zend\ServiceManager\ServiceManager $sm) { |
|
323 | 323 | return new Mapper\Locale($sm->get('playgroundcore_doctrine_em'), $sm->get('playgroundcore_module_options')); |
324 | 324 | }, |
325 | 325 | |
326 | 326 | 'playgroundcore_twilio' => 'PlaygroundCore\Service\Factory\TwilioServiceFactory', |
327 | 327 | 'playgroundcore_phpvideotoolkit' => 'PlaygroundCore\Service\Factory\PhpvideotoolkitServiceFactory', |
328 | 328 | 'playgroundcore_transport' => 'PlaygroundCore\Mail\Transport\Service\TransportFactory', |
329 | - 'PlaygroundCore\Analytics\Tracker' => function (\Zend\ServiceManager\ServiceManager $sm) { |
|
329 | + 'PlaygroundCore\Analytics\Tracker' => function(\Zend\ServiceManager\ServiceManager $sm) { |
|
330 | 330 | $config = $sm->get('config'); |
331 | 331 | $config = isset($config['playgroundcore']) ? $config['playgroundcore']['googleAnalytics'] : array('id' => 'UA-XXXXXXXX-X'); |
332 | 332 | |
@@ -339,8 +339,8 @@ discard block |
||
339 | 339 | if (isset($config['custom_vars'])) { |
340 | 340 | foreach ($config['custom_vars'] as $customVar) { |
341 | 341 | $customVarId = $customVar['id']; |
342 | - $customVarName = $customVar['name']; |
|
343 | - $customVarValue = $customVar['value']; |
|
342 | + $customVarName = $customVar['name']; |
|
343 | + $customVarValue = $customVar['value']; |
|
344 | 344 | $customVarOptScope = $customVar['optScope']; |
345 | 345 | $customVar = new Analytics\CustomVar($customVarId, $customVarName, $customVarValue, $customVarOptScope); |
346 | 346 | $tracker->addCustomVar($customVar); |
@@ -361,7 +361,7 @@ discard block |
||
361 | 361 | |
362 | 362 | return $tracker; |
363 | 363 | }, |
364 | - 'PlaygroundCore\Opengraph\Tracker' => function (\Zend\ServiceManager\ServiceManager $sm) { |
|
364 | + 'PlaygroundCore\Opengraph\Tracker' => function(\Zend\ServiceManager\ServiceManager $sm) { |
|
365 | 365 | $config = $sm->get('config'); |
366 | 366 | $config = isset($config['playgroundcore']['facebookOpengraph']) ? $config['playgroundcore']['facebookOpengraph'] : array('appId' => ''); |
367 | 367 | |
@@ -380,7 +380,7 @@ discard block |
||
380 | 380 | |
381 | 381 | return $tracker; |
382 | 382 | }, |
383 | - 'PlaygroundCore\TwitterCard\Config' => function (\Zend\ServiceManager\ServiceManager $sm) { |
|
383 | + 'PlaygroundCore\TwitterCard\Config' => function(\Zend\ServiceManager\ServiceManager $sm) { |
|
384 | 384 | $config = $sm->get('config'); |
385 | 385 | $config = isset($config['playgroundcore']['twitterCard']) ? $config['playgroundcore']['twitterCard'] : array(); |
386 | 386 | return new TwitterCard\Config($config); |
@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | /** |
19 | 19 | * |
20 | 20 | * @param ServiceManager $serviceManager |
21 | - * @return AbstractService |
|
21 | + * @return Message |
|
22 | 22 | */ |
23 | 23 | public function setServiceManager(ServiceManager $serviceManager) |
24 | 24 | { |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | * Either the template to use, or a ViewModel |
62 | 62 | * @param null|array $values |
63 | 63 | * Values to use when the template is rendered |
64 | - * @return Message |
|
64 | + * @return MailMessage |
|
65 | 65 | */ |
66 | 66 | public function createHtmlMessage($from, $to, $subject, $nameOrModel, $values = array()) |
67 | 67 | { |
@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | * Either the template to use, or a ViewModel |
122 | 122 | * @param null|array $values |
123 | 123 | * Values to use when the template is rendered |
124 | - * @return Message |
|
124 | + * @return MailMessage |
|
125 | 125 | */ |
126 | 126 | public function createTextMessage($from, $to, $subject, $nameOrModel, $values = array()) |
127 | 127 | { |
@@ -134,7 +134,7 @@ discard block |
||
134 | 134 | /** |
135 | 135 | * Send the message |
136 | 136 | * |
137 | - * @param Message $message |
|
137 | + * @param MailMessage $message |
|
138 | 138 | */ |
139 | 139 | public function send(MailMessage $message) |
140 | 140 | { |
@@ -174,7 +174,10 @@ discard block |
||
174 | 174 | |
175 | 175 | /** |
176 | 176 | * |
177 | - * @return Message |
|
177 | + * @param string $encoding |
|
178 | + * @param string $subject |
|
179 | + * @param string $body |
|
180 | + * @return MailMessage |
|
178 | 181 | */ |
179 | 182 | protected function getDefaultMessage($from, $encoding, $to, $subject, $body) |
180 | 183 | { |
@@ -72,8 +72,8 @@ discard block |
||
72 | 72 | $content = $renderer->render($nameOrModel, $values); |
73 | 73 | $resolver = $this->getServiceManager()->get('Zend\View\Resolver\TemplatePathStack'); |
74 | 74 | // check if plain text email template exist |
75 | - if ($resolver->resolve($nameOrModel . '-plain')) { |
|
76 | - $contentText = $renderer->render($nameOrModel . '-plain', $values); |
|
75 | + if ($resolver->resolve($nameOrModel.'-plain')) { |
|
76 | + $contentText = $renderer->render($nameOrModel.'-plain', $values); |
|
77 | 77 | } else { |
78 | 78 | $contentText = ''; |
79 | 79 | } |
@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | $html->encoding = Mime::ENCODING_QUOTEDPRINTABLE; |
93 | 93 | $html->disposition = Mime::DISPOSITION_INLINE; |
94 | 94 | $html->charset = 'UTF-8'; |
95 | - $bodyMessage = new MimeMessage(); |
|
95 | + $bodyMessage = new MimeMessage(); |
|
96 | 96 | |
97 | 97 | $multiPartContentMessage = new MimeMessage(); |
98 | 98 | $multiPartContentMessage->addPart($text); |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | * setLocaleMapper |
50 | 50 | * @param LocaleMapper $localeMapper |
51 | 51 | * |
52 | - * @return PlaygroundCore\Entity\Locale Locale |
|
52 | + * @return Locale Locale |
|
53 | 53 | */ |
54 | 54 | public function setLocaleMapper($localeMapper) |
55 | 55 | { |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | * setOptions |
63 | 63 | * @param ModuleOptions $options |
64 | 64 | * |
65 | - * @return PlaygroundCore\Service\Locale $this |
|
65 | + * @return Locale $this |
|
66 | 66 | */ |
67 | 67 | public function setOptions(ModuleOptions $options) |
68 | 68 | { |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | * setWebsiteMapper |
50 | 50 | * @param Mapper/Website $websiteMapper |
51 | 51 | * |
52 | - * @return PlaygroundCore\Entity\WebsiteMapper websiteMapper |
|
52 | + * @return Website websiteMapper |
|
53 | 53 | */ |
54 | 54 | public function setWebsiteMapper($websiteMapper) |
55 | 55 | { |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | * setOptions |
63 | 63 | * @param ModuleOptions $options |
64 | 64 | * |
65 | - * @return PlaygroundCore\Service\Website $this |
|
65 | + * @return Website $this |
|
66 | 66 | */ |
67 | 67 | public function setOptions(ModuleOptions $options) |
68 | 68 | { |
@@ -8,9 +8,9 @@ |
||
8 | 8 | class CountryFactory implements FactoryInterface |
9 | 9 | { |
10 | 10 | /** |
11 | - * @param ServiceLocatorInterface $locator |
|
12 | - * @return \PlaygroundCore\Service\Country |
|
13 | - */ |
|
11 | + * @param ServiceLocatorInterface $locator |
|
12 | + * @return \PlaygroundCore\Service\Country |
|
13 | + */ |
|
14 | 14 | public function createService(ServiceLocatorInterface $locator) |
15 | 15 | { |
16 | 16 | $service = new Country($locator); |