@@ -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 | - *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'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()); |
@@ -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 |
@@ -205,6 +205,9 @@ |
||
205 | 205 | } |
206 | 206 | |
207 | 207 | |
208 | + /** |
|
209 | + * @param string $spec |
|
210 | + */ |
|
208 | 211 | public function addClass($spec) |
209 | 212 | { |
210 | 213 | $class = array(); |
@@ -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; |