@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | /** |
| 32 | 32 | * Get the current controller instance |
| 33 | 33 | * |
| 34 | - * @return null|Dispatchable |
|
| 34 | + * @return Dispatchable |
|
| 35 | 35 | */ |
| 36 | 36 | public function getController() |
| 37 | 37 | { |
@@ -45,6 +45,9 @@ discard block |
||
| 45 | 45 | return $this; |
| 46 | 46 | } |
| 47 | 47 | |
| 48 | + /** |
|
| 49 | + * @param AddressList $header |
|
| 50 | + */ |
|
| 48 | 51 | protected function stringFromMailHeader($header) |
| 49 | 52 | { |
| 50 | 53 | $erg = ''; |
@@ -133,6 +136,9 @@ discard block |
||
| 133 | 136 | } |
| 134 | 137 | } |
| 135 | 138 | |
| 139 | + /** |
|
| 140 | + * @return string |
|
| 141 | + */ |
|
| 136 | 142 | protected function getTemplate() |
| 137 | 143 | { |
| 138 | 144 | $template = null; |
@@ -13,9 +13,9 @@ discard block |
||
| 13 | 13 | |
| 14 | 14 | class mail extends Message implements PluginInterface |
| 15 | 15 | { |
| 16 | - protected $controller; |
|
| 17 | - protected $param; |
|
| 18 | - protected $config; |
|
| 16 | + protected $controller; |
|
| 17 | + protected $param; |
|
| 18 | + protected $config; |
|
| 19 | 19 | |
| 20 | 20 | /** |
| 21 | 21 | * Set the current controller instance |
@@ -141,7 +141,7 @@ discard block |
||
| 141 | 141 | } elseif (isset($this->config['templateHalf'])) { |
| 142 | 142 | $template = $this->config['templateHalf']; |
| 143 | 143 | } else { |
| 144 | - throw new \InvalidArgumentException('Not template provided for Mail.'); |
|
| 144 | + throw new \InvalidArgumentException('Not template provided for Mail.'); |
|
| 145 | 145 | } |
| 146 | 146 | return $template; |
| 147 | 147 | } |
@@ -154,19 +154,19 @@ discard block |
||
| 154 | 154 | $from = $this->config['from']; |
| 155 | 155 | } else { |
| 156 | 156 | $log->err('A from email address must be provided (Variable $from) in Template: ' . $template); |
| 157 | - throw new \InvalidArgumentException('A from email address must be provided (Variable $from) in Template: ' . $template); |
|
| 157 | + throw new \InvalidArgumentException('A from email address must be provided (Variable $from) in Template: ' . $template); |
|
| 158 | 158 | } |
| 159 | 159 | if (isset($this->config['fromName'])) { |
| 160 | 160 | $fromName = $this->config['fromName']; |
| 161 | 161 | } else { |
| 162 | 162 | $log->err('A from name must be provided (Variable $fromName) in Template: ' . $template); |
| 163 | - throw new \InvalidArgumentException('A from name must be provided (Variable $fromName) in Template: ' . $template); |
|
| 163 | + throw new \InvalidArgumentException('A from name must be provided (Variable $fromName) in Template: ' . $template); |
|
| 164 | 164 | } |
| 165 | 165 | if (isset($this->config['subject'])) { |
| 166 | 166 | $subject = $this->config['subject']; |
| 167 | 167 | } else { |
| 168 | 168 | $log->err('A subject must be provided (Variable $subject) in Template: ' . $template); |
| 169 | - throw new \InvalidArgumentException('A subject must be provided (Variable $subject) in Template: ' . $template); |
|
| 169 | + throw new \InvalidArgumentException('A subject must be provided (Variable $subject) in Template: ' . $template); |
|
| 170 | 170 | } |
| 171 | 171 | $this->setFrom($from, $fromName); |
| 172 | 172 | $this->setSubject($subject); |
@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | |
| 81 | 81 | public function template($template) |
| 82 | 82 | { |
| 83 | - $controller = get_class($this->controller); |
|
| 83 | + $controller = get_class($this->controller); |
|
| 84 | 84 | $services = $this->getController()->getServiceLocator(); |
| 85 | 85 | |
| 86 | 86 | $event = new Event(); |
@@ -128,7 +128,7 @@ discard block |
||
| 128 | 128 | unset($__vars[$key]); |
| 129 | 129 | } |
| 130 | 130 | } |
| 131 | - unset($__vars['content'],$__vars['controllerIdentifier'],$__vars['controller'],$__vars['resource'],$__vars['template'],$__vars['viewResolver']); |
|
| 131 | + unset($__vars['content'], $__vars['controllerIdentifier'], $__vars['controller'], $__vars['resource'], $__vars['template'], $__vars['viewResolver']); |
|
| 132 | 132 | $this->config = $__vars; |
| 133 | 133 | } |
| 134 | 134 | } |
@@ -43,6 +43,9 @@ |
||
| 43 | 43 | ); |
| 44 | 44 | } |
| 45 | 45 | |
| 46 | + /** |
|
| 47 | + * @return Message |
|
| 48 | + */ |
|
| 46 | 49 | public function get($mailPluginName, array $options = array()) |
| 47 | 50 | { |
| 48 | 51 | return $this->getMailService()->get($mailPluginName, $options); |
@@ -53,7 +53,7 @@ |
||
| 53 | 53 | * Sets pagination params and stores them in the session. |
| 54 | 54 | * |
| 55 | 55 | * @param String $namespace |
| 56 | - * @param array|Parameters $params |
|
| 56 | + * @param \Zend\Stdlib\ParametersInterface $params |
|
| 57 | 57 | * @return \Core\Controller\Plugin\PaginationParams fluent interface |
| 58 | 58 | */ |
| 59 | 59 | public function setParams($namespace, $params) |
@@ -135,7 +135,7 @@ |
||
| 135 | 135 | public function getList($namespace, $callback) |
| 136 | 136 | { |
| 137 | 137 | $session = new Container($namespace); |
| 138 | - $params = $session->params?:array(); |
|
| 138 | + $params = $session->params ?: array(); |
|
| 139 | 139 | if (!$session->list) { |
| 140 | 140 | $session->list = is_array($callback) |
| 141 | 141 | ? call_user_func($callback, $session->params) |
@@ -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; |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | * and the configuration to get the services for Hydrator |
| 24 | 24 | * |
| 25 | 25 | * @param ServiceLocatorInterface $serviceLocator |
| 26 | - * @return $this|mixed |
|
| 26 | + * @return EntitySnapshot |
|
| 27 | 27 | */ |
| 28 | 28 | |
| 29 | 29 | public function createService(ServiceLocatorInterface $serviceLocator) |
@@ -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 Organizations\Form; |
| 12 | 12 | |
@@ -55,7 +55,6 @@ |
||
| 55 | 55 | * Two-letter codes from the ISO 3166 standard as implemented by The Internet Assigned |
| 56 | 56 | * Numbers Authority. |
| 57 | 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 | 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-2015 Cross Solution (http://cross-solution.de) |
|
| 7 | - * @license GPLv3 |
|
| 8 | - */ |
|
| 3 | + * YAWIK |
|
| 4 | + * Application configuration |
|
| 5 | + * |
|
| 6 | + * @copyright (c) 2013-2015 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'|'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 | - */ |
|
| 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 | } |
@@ -98,6 +98,9 @@ discard block |
||
| 98 | 98 | return $this->user; |
| 99 | 99 | } |
| 100 | 100 | |
| 101 | + /** |
|
| 102 | + * @param string $name |
|
| 103 | + */ |
|
| 101 | 104 | public function setName($name) |
| 102 | 105 | { |
| 103 | 106 | $this->name = $name; |
@@ -134,6 +137,9 @@ discard block |
||
| 134 | 137 | return $this; |
| 135 | 138 | } |
| 136 | 139 | |
| 140 | + /** |
|
| 141 | + * @return string |
|
| 142 | + */ |
|
| 137 | 143 | public function getType() |
| 138 | 144 | { |
| 139 | 145 | return $this->mimetype; |
@@ -158,6 +164,9 @@ discard block |
||
| 158 | 164 | return $this->file; |
| 159 | 165 | } |
| 160 | 166 | |
| 167 | + /** |
|
| 168 | + * @param \Doctrine\MongoDB\GridFSFile $file |
|
| 169 | + */ |
|
| 161 | 170 | public function setFile($file) |
| 162 | 171 | { |
| 163 | 172 | $this->setDateUploaded(new \DateTime()); |
@@ -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; |
@@ -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-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 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-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 Organizations\Form; |
| 12 | 12 | |