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|'PM'|'PN'|'PR'|'PS'|'PT'|'PW'|'PY'|'QA'|'RE'|'RO'|'RS'|'RU'|'RW'|'SA'|'SB'|'SC'|'SD'|'SE'|'SG'|'SH'|'SI'|'SJ'|'SK'|'SL'|'SM'|'SN'|'SO'|'SR'|'ST'|'SU'|'SV'|'SY'|'SZ'|'TC'|'TD'|'TF'|'TG'|'TH'|'TJ'|'TK'|'TL'|'TM'|'TN'|'TO'|'TP'|'TR'|'TT'|'TV'|'TW'|'TZ'|'UA'|'UG'|'UK'|'UM'|'US'|'UY'|'UZ'|'VA'|'VC'|'VE'|'VG'|'VI'|'VN'|'VU'|'WF'|'WS'|'YE'|'YT'|'YU'|'ZA'|'ZM'|'ZW'} |
|
| 59 | 58 | * @return AddressInterface |
| 60 | 59 | */ |
| 61 | 60 | public function setCountryCode($countryCode); |
@@ -1,11 +1,11 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * YAWIK |
|
| 4 | - * Application configuration |
|
| 5 | - * |
|
| 6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
| 7 | - * @license GPLv3 |
|
| 8 | - */ |
|
| 3 | + * YAWIK |
|
| 4 | + * Application configuration |
|
| 5 | + * |
|
| 6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
| 7 | + * @license GPLv3 |
|
| 8 | + */ |
|
| 9 | 9 | |
| 10 | 10 | namespace Core\Entity; |
| 11 | 11 | |
@@ -14,50 +14,50 @@ discard block |
||
| 14 | 14 | interface AddressInterface extends EntityInterface |
| 15 | 15 | { |
| 16 | 16 | |
| 17 | - /** |
|
| 18 | - * Postal Code of the Address. |
|
| 19 | - * |
|
| 20 | - * @param string $postalCode |
|
| 21 | - * @return AddressInterface |
|
| 22 | - */ |
|
| 17 | + /** |
|
| 18 | + * Postal Code of the Address. |
|
| 19 | + * |
|
| 20 | + * @param string $postalCode |
|
| 21 | + * @return AddressInterface |
|
| 22 | + */ |
|
| 23 | 23 | public function setPostalCode($postalCode); |
| 24 | 24 | public function getPostalCode(); |
| 25 | 25 | |
| 26 | - /** |
|
| 27 | - * Identifies the town or the city |
|
| 28 | - * |
|
| 29 | - * @param string $cityName |
|
| 30 | - * @return AddressInterface |
|
| 31 | - */ |
|
| 26 | + /** |
|
| 27 | + * Identifies the town or the city |
|
| 28 | + * |
|
| 29 | + * @param string $cityName |
|
| 30 | + * @return AddressInterface |
|
| 31 | + */ |
|
| 32 | 32 | public function setCityName($cityName); |
| 33 | 33 | public function getCityName(); |
| 34 | 34 | |
| 35 | - /** |
|
| 36 | - * The Street Name where the building/ house is located |
|
| 37 | - * |
|
| 38 | - * @param string $streetName |
|
| 39 | - * @return AddressInterface |
|
| 40 | - */ |
|
| 35 | + /** |
|
| 36 | + * The Street Name where the building/ house is located |
|
| 37 | + * |
|
| 38 | + * @param string $streetName |
|
| 39 | + * @return AddressInterface |
|
| 40 | + */ |
|
| 41 | 41 | public function setStreetName($streetName); |
| 42 | 42 | public function getStreetName(); |
| 43 | 43 | |
| 44 | - /** |
|
| 45 | - * The Number of the building or house on the street that identifies where |
|
| 46 | - * to deliver mail. For example, Building 300 on Standards Parkway |
|
| 47 | - * |
|
| 48 | - * @param string $buildingNumber |
|
| 49 | - * @return AddressInterface |
|
| 50 | - */ |
|
| 44 | + /** |
|
| 45 | + * The Number of the building or house on the street that identifies where |
|
| 46 | + * to deliver mail. For example, Building 300 on Standards Parkway |
|
| 47 | + * |
|
| 48 | + * @param string $buildingNumber |
|
| 49 | + * @return AddressInterface |
|
| 50 | + */ |
|
| 51 | 51 | public function setBuildingNumber($buildingNumber); |
| 52 | 52 | public function getBuildingNumber(); |
| 53 | 53 | |
| 54 | - /** |
|
| 55 | - * Two-letter codes from the ISO 3166 standard as implemented by The Internet Assigned |
|
| 56 | - * Numbers Authority. |
|
| 57 | - * |
|
| 58 | - * @param string $postalCode {'AC'|'AD'|'AE'|'AF'|'AG'|'AI'|'AL'|'AM'|'AN'|'AO'|'AQ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'|'TC'|'TD'|'TF'|'TG'|'TH'|'TJ'|'TK'|'TL'|'TM'|'TN'|'TO'|'TP'|'TR'|'TT'|'TV'|'TW'|'TZ'|'UA'|'UG'|'UK'|'UM'|'US'|'UY'|'UZ'|'VA'|'VC'|'VE'|'VG'|'VI'|'VN'|'VU'|'WF'|'WS'|'YE'|'YT'|'YU'|'ZA'|'ZM'|'ZW'} |
|
| 59 | - * @return AddressInterface |
|
| 60 | - */ |
|
| 54 | + /** |
|
| 55 | + * Two-letter codes from the ISO 3166 standard as implemented by The Internet Assigned |
|
| 56 | + * Numbers Authority. |
|
| 57 | + * |
|
| 58 | + * @param string $postalCode {'AC'|'AD'|'AE'|'AF'|'AG'|'AI'|'AL'|'AM'|'AN'|'AO'|'AQ'|'AR'|'AS'|'AT'|'AU'|'AW'|'AX'|'AZ'|'BA'|'BB'|'BD'|'BE'|'BF'|'BG'|'BH'|'BI'|'BJ'|'BL'|'BM'|'BN'|'BO'|'BR'|'BS'|'BT'|'BV'|'BW'|'BY'|'BZ'|'CA'|'CC'|'CD'|'CF'|'CG'|'CH'|'CI'|'CK'|'CL'|'CM'|'CN'|'CO'|'CR'|'CU'|'CV'|'CX'|'CY'|'CZ'|'DE'|'DJ'|'DK'|'DM'|'DO'|'DZ'|'EC'|'EE'|'EG'|'EH'|'ER'|'ES'|'ET'|'EU'|'FI'|'FJ'|'FK'|'FM'|'FO'|'FR'|'GA'|'GB'|'GD'|'GE'|'GF'|'GG'|'GH'|'GI'|'GL'|'GM'|'GN'|'GP'|'GQ'|'GR'|'GS'|'GT'|'GU'|'GW'|'GY'|'HK'|'HM'|'HN'|'HR'|'HT'|'HU'|'ID'|'IE'|'IL'|'IM'|'IN'|'IO'|'IQ'|'IR'|'IS'|'IT'|'JE'|'JM'|'JO'|'JP'|'KE'|'KG'|'KH'|'KI'|'KM'|'KN'|'KP'|'KR'|'KW'|'KY'|'KZ'|'LA'|'LB'|'LC'|'LI'|'LK'|'LR'|'LS'|'LT'|'LU'|'LV'|'LY'|'MA'|'MC'|'MD'|'ME'|'MF'|'MG'|'MH'|'MK'|'ML'|'MM'|'MN'|'MO'|'MP'|'MQ'|'MR'|'MS'|'MT'|'MU'|'MV'|'MW'|'MX'|'MY'|'MZ'|'NA'|'NC'|'NE'|'NF'|'NG'|'NI'|'NL'|'NO'|'NP'|'NR'|'NU'|'NZ'|'OM'|'PA'|'PE'|'PF'|'PG'|'PH'|'PK'|'PL'|'PM'|'PN'|'PR'|'PS'|'PT'|'PW'|'PY'|'QA'|'RE'|'RO'|'RS'|'RU'|'RW'|'SA'|'SB'|'SC'|'SD'|'SE'|'SG'|'SH'|'SI'|'SJ'|'SK'|'SL'|'SM'|'SN'|'SO'|'SR'|'ST'|'SU'|'SV'|'SY'|'SZ'|'TC'|'TD'|'TF'|'TG'|'TH'|'TJ'|'TK'|'TL'|'TM'|'TN'|'TO'|'TP'|'TR'|'TT'|'TV'|'TW'|'TZ'|'UA'|'UG'|'UK'|'UM'|'US'|'UY'|'UZ'|'VA'|'VC'|'VE'|'VG'|'VI'|'VN'|'VU'|'WF'|'WS'|'YE'|'YT'|'YU'|'ZA'|'ZM'|'ZW'} |
|
| 59 | + * @return AddressInterface |
|
| 60 | + */ |
|
| 61 | 61 | public function setCountryCode($countryCode); |
| 62 | 62 | public function getCountryCode(); |
| 63 | 63 | } |
@@ -89,7 +89,7 @@ |
||
| 89 | 89 | |
| 90 | 90 | /** |
| 91 | 91 | * exclude methods from the automatism |
| 92 | - * @param $methods |
|
| 92 | + * @param string[] $methods |
|
| 93 | 93 | */ |
| 94 | 94 | public function setExcludeMethods($methods) |
| 95 | 95 | { |
@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | |
| 34 | 34 | $getters = array_filter( |
| 35 | 35 | get_class_methods($object), |
| 36 | - function ($methodName) use ($object) { |
|
| 36 | + function($methodName) use ($object) { |
|
| 37 | 37 | return "get" === substr($methodName, 0, 3) |
| 38 | 38 | && method_exists($object, 's' . substr($methodName, 1)); |
| 39 | 39 | } |
@@ -62,7 +62,7 @@ discard block |
||
| 62 | 62 | } |
| 63 | 63 | $setters = array_filter( |
| 64 | 64 | get_class_methods($object), |
| 65 | - function ($methodName) { |
|
| 65 | + function($methodName) { |
|
| 66 | 66 | return "set" === substr($methodName, 0, 3); |
| 67 | 67 | } |
| 68 | 68 | ); |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | * Create the Json Entity Hydrator |
| 22 | 22 | * |
| 23 | 23 | * @param ServiceLocatorInterface $serviceLocator |
| 24 | - * @return JsonEntityHydrator |
|
| 24 | + * @return EntityHydrator |
|
| 25 | 25 | */ |
| 26 | 26 | public function createService(ServiceLocatorInterface $serviceLocator) |
| 27 | 27 | { |
@@ -1,12 +1,12 @@ |
||
| 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 Organizations\Form; |
| 12 | 12 | |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | |
| 25 | 25 | /** |
| 26 | 26 | * @param $data |
| 27 | - * @return mixed |
|
| 27 | + * @return Snapshot |
|
| 28 | 28 | * @ODM\PreUpdate |
| 29 | 29 | */ |
| 30 | 30 | public function __invoke($data) |
@@ -1,12 +1,12 @@ |
||
| 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 Organizations\Form; |
| 12 | 12 | |
@@ -73,7 +73,7 @@ |
||
| 73 | 73 | * |
| 74 | 74 | * Proxies to {@link render()}. |
| 75 | 75 | * |
| 76 | - * @param null|ElementInterface $element |
|
| 76 | + * @param null|ElementInterface $elements |
|
| 77 | 77 | * @param null|string $labelPosition |
| 78 | 78 | * @param bool $renderErrors |
| 79 | 79 | * @return string|FormRow |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | |
| 43 | 43 | /** |
| 44 | 44 | * @param LoggerInterface $log |
| 45 | - * @param null $redirect |
|
| 45 | + * @param \Closure $redirect |
|
| 46 | 46 | */ |
| 47 | 47 | public function __construct(LoggerInterface $log, $redirect = null) |
| 48 | 48 | { |
@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | * |
| 67 | 67 | * @param EventManagerInterface $events |
| 68 | 68 | * @param integer $priority |
| 69 | - */ |
|
| 69 | + */ |
|
| 70 | 70 | public function attach(EventManagerInterface $events, $priority = 1) |
| 71 | 71 | { |
| 72 | 72 | $this->listeners[] = $events->attach(MvcEvent::EVENT_DISPATCH_ERROR, array($this, 'handleError'), $priority); |
@@ -147,19 +147,19 @@ discard block |
||
| 147 | 147 | $error = error_get_last(); |
| 148 | 148 | |
| 149 | 149 | if ($error) { |
| 150 | - $this->log->err( |
|
| 151 | - $error['message'], |
|
| 152 | - array( |
|
| 153 | - 'errno' => $error['type'], |
|
| 154 | - 'file' => $error['file'], |
|
| 155 | - 'line' => $error['line'] |
|
| 156 | - ) |
|
| 157 | - ); |
|
| 158 | - if ($this->redirect && |
|
| 150 | + $this->log->err( |
|
| 151 | + $error['message'], |
|
| 152 | + array( |
|
| 153 | + 'errno' => $error['type'], |
|
| 154 | + 'file' => $error['file'], |
|
| 155 | + 'line' => $error['line'] |
|
| 156 | + ) |
|
| 157 | + ); |
|
| 158 | + if ($this->redirect && |
|
| 159 | 159 | ($error['type'] & (E_ERROR | E_CORE_ERROR | E_COMPILE_ERROR | E_USER_ERROR | E_RECOVERABLE_ERROR)) |
| 160 | - ) { |
|
| 161 | - if (is_callable($this->redirect)) { |
|
| 162 | - call_user_func($this->redirect); |
|
| 160 | + ) { |
|
| 161 | + if (is_callable($this->redirect)) { |
|
| 162 | + call_user_func($this->redirect); |
|
| 163 | 163 | } |
| 164 | 164 | } |
| 165 | 165 | } |
@@ -199,6 +199,10 @@ |
||
| 199 | 199 | return $lang; |
| 200 | 200 | } |
| 201 | 201 | |
| 202 | + /** |
|
| 203 | + * @param \Zend\Stdlib\ResponseInterface $response |
|
| 204 | + * @param string $uri |
|
| 205 | + */ |
|
| 202 | 206 | protected function redirect($response, $uri) |
| 203 | 207 | { |
| 204 | 208 | $response->setStatusCode(302); |
@@ -22,8 +22,8 @@ |
||
| 22 | 22 | protected $defaultLanguage; |
| 23 | 23 | |
| 24 | 24 | /** |
| 25 | - * @todo: get this from \Core\Options\ModuleOptions. |
|
| 26 | - */ |
|
| 25 | + * @todo: get this from \Core\Options\ModuleOptions. |
|
| 26 | + */ |
|
| 27 | 27 | protected $availableLanguages = array( |
| 28 | 28 | 'en' => 'en_EN', |
| 29 | 29 | 'de' => 'de_DE', |
@@ -106,7 +106,7 @@ discard block |
||
| 106 | 106 | } |
| 107 | 107 | |
| 108 | 108 | $router = $e->getRouter(); |
| 109 | - $basePath=$router->getBaseUrl(); |
|
| 109 | + $basePath = $router->getBaseUrl(); |
|
| 110 | 110 | |
| 111 | 111 | |
| 112 | 112 | if (preg_match('~^' . $basePath . '/([a-z]{2})(?:/|$)~', $e->getRequest()->getRequestUri(), $match)) { |
@@ -181,7 +181,7 @@ discard block |
||
| 181 | 181 | $headers = $e->getRequest()->getHeaders(); |
| 182 | 182 | if ($headers->has('Accept-Language')) { |
| 183 | 183 | $locales = $headers->get('Accept-Language')->getPrioritized(); |
| 184 | - $localeFound=false; |
|
| 184 | + $localeFound = false; |
|
| 185 | 185 | foreach ($locales as $locale) { |
| 186 | 186 | if (array_key_exists($locale->type, $this->availableLanguages)) { |
| 187 | 187 | $lang = $locale->type; |
@@ -134,7 +134,7 @@ discard block |
||
| 134 | 134 | * |
| 135 | 135 | * @param string $name |
| 136 | 136 | * @param mixed $value |
| 137 | - * @return ViewModel |
|
| 137 | + * @return HTMLTemplateMessage |
|
| 138 | 138 | */ |
| 139 | 139 | public function setVariable($name, $value) |
| 140 | 140 | { |
@@ -195,7 +195,7 @@ discard block |
||
| 195 | 195 | * |
| 196 | 196 | * Resets the internal variable container to an empty container. |
| 197 | 197 | * |
| 198 | - * @return ViewModel |
|
| 198 | + * @return HTMLTemplateMessage |
|
| 199 | 199 | */ |
| 200 | 200 | public function clearVariables() |
| 201 | 201 | { |
@@ -206,7 +206,7 @@ discard block |
||
| 206 | 206 | /** |
| 207 | 207 | * |
| 208 | 208 | * |
| 209 | - * @param $template |
|
| 209 | + * @param string $template |
|
| 210 | 210 | * |
| 211 | 211 | * @return self |
| 212 | 212 | */ |
@@ -216,6 +216,9 @@ discard block |
||
| 216 | 216 | return $this; |
| 217 | 217 | } |
| 218 | 218 | |
| 219 | + /** |
|
| 220 | + * @return string |
|
| 221 | + */ |
|
| 219 | 222 | public function getTemplate() |
| 220 | 223 | { |
| 221 | 224 | return $this->template; |
@@ -1,12 +1,12 @@ |
||
| 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 Organizations\Form; |
| 12 | 12 | |
@@ -123,7 +123,7 @@ |
||
| 123 | 123 | /** |
| 124 | 124 | * Gets the default from address |
| 125 | 125 | * |
| 126 | - * @return null|String|Address|AddressList|array |
|
| 126 | + * @return string |
|
| 127 | 127 | */ |
| 128 | 128 | public function getFrom() |
| 129 | 129 | { |
@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | $self = $this; |
| 81 | 81 | |
| 82 | 82 | $this->addInitializer( |
| 83 | - function ($instance) use ($self) { |
|
| 83 | + function($instance) use ($self) { |
|
| 84 | 84 | if ($instance instanceof TranslatorAwareInterface) { |
| 85 | 85 | $translator = $self->getServiceLocator()->get('translator'); |
| 86 | 86 | $instance->setTranslator($translator); |
@@ -93,7 +93,7 @@ discard block |
||
| 93 | 93 | false |
| 94 | 94 | ); |
| 95 | 95 | $this->addInitializer( |
| 96 | - function ($instance) { |
|
| 96 | + function($instance) { |
|
| 97 | 97 | if (method_exists($instance, 'init')) { |
| 98 | 98 | $instance->init(); |
| 99 | 99 | } |
@@ -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 | namespace Organizations\Factory\Controller; |
| 11 | 11 | |