@@ -118,7 +118,7 @@ |
||
| 118 | 118 | * |
| 119 | 119 | * @param array $data |
| 120 | 120 | * |
| 121 | - * @return Data |
|
| 121 | + * @return string |
|
| 122 | 122 | */ |
| 123 | 123 | public static function toYaml(array $data) |
| 124 | 124 | { |
@@ -298,7 +298,7 @@ |
||
| 298 | 298 | } |
| 299 | 299 | |
| 300 | 300 | /** |
| 301 | - * @param array $permissions |
|
| 301 | + * @param string[] $permissions |
|
| 302 | 302 | * @param bool $success |
| 303 | 303 | * |
| 304 | 304 | * @return UserPermissionsService|Mock |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | /** |
| 25 | 25 | * Load fieldlayout and sources behaviors |
| 26 | 26 | * |
| 27 | - * @return array |
|
| 27 | + * @return string[] |
|
| 28 | 28 | */ |
| 29 | 29 | public function behaviors() |
| 30 | 30 | { |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | /** |
| 25 | 25 | * Load fieldlayout behavior |
| 26 | 26 | * |
| 27 | - * @return array |
|
| 27 | + * @return string[] |
|
| 28 | 28 | */ |
| 29 | 29 | public function behaviors() |
| 30 | 30 | { |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | /** |
| 24 | 24 | * Load sources behaviors |
| 25 | 25 | * |
| 26 | - * @return array |
|
| 26 | + * @return string[] |
|
| 27 | 27 | */ |
| 28 | 28 | public function behaviors() |
| 29 | 29 | { |
@@ -23,8 +23,6 @@ discard block |
||
| 23 | 23 | /** |
| 24 | 24 | * Exports the Craft datamodel. |
| 25 | 25 | * |
| 26 | - * @param string $file file to write the schema to |
|
| 27 | - * @param array $exclude Data to not export |
|
| 28 | 26 | * |
| 29 | 27 | * @return int |
| 30 | 28 | */ |
@@ -42,7 +40,6 @@ discard block |
||
| 42 | 40 | * Export to Yaml file. |
| 43 | 41 | * |
| 44 | 42 | * @param string $file |
| 45 | - * @param bool $autoCreate |
|
| 46 | 43 | * |
| 47 | 44 | * @return int |
| 48 | 45 | */ |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | /** |
| 27 | 27 | * {@inheritdoc} |
| 28 | 28 | * |
| 29 | - * @return array |
|
| 29 | + * @return string[] |
|
| 30 | 30 | */ |
| 31 | 31 | public function options($actionID) |
| 32 | 32 | { |
@@ -104,7 +104,7 @@ discard block |
||
| 104 | 104 | } |
| 105 | 105 | |
| 106 | 106 | /** |
| 107 | - * @return Mock|GlobalsService |
|
| 107 | + * @return Mock |
|
| 108 | 108 | */ |
| 109 | 109 | public function getMockGlobalsService() |
| 110 | 110 | { |
@@ -118,7 +118,7 @@ discard block |
||
| 118 | 118 | } |
| 119 | 119 | |
| 120 | 120 | /** |
| 121 | - * @return Mock|SectionsService |
|
| 121 | + * @return Mock |
|
| 122 | 122 | */ |
| 123 | 123 | public function getMockSectionsService() |
| 124 | 124 | { |
@@ -175,7 +175,7 @@ discard block |
||
| 175 | 175 | } |
| 176 | 176 | |
| 177 | 177 | /** |
| 178 | - * @return PluginsService|Mock |
|
| 178 | + * @return Mock |
|
| 179 | 179 | */ |
| 180 | 180 | public function getMockPluginsService() |
| 181 | 181 | { |
@@ -193,7 +193,7 @@ discard block |
||
| 193 | 193 | } |
| 194 | 194 | |
| 195 | 195 | /** |
| 196 | - * @return Mock|AssetSourcesService |
|
| 196 | + * @return Mock |
|
| 197 | 197 | */ |
| 198 | 198 | public function getMockAssetSourcesService() |
| 199 | 199 | { |
@@ -207,7 +207,7 @@ discard block |
||
| 207 | 207 | } |
| 208 | 208 | |
| 209 | 209 | /** |
| 210 | - * @return Mock|AssetTransformsService |
|
| 210 | + * @return Mock |
|
| 211 | 211 | */ |
| 212 | 212 | public function getMockAssetTransformsService() |
| 213 | 213 | { |
@@ -221,7 +221,7 @@ discard block |
||
| 221 | 221 | } |
| 222 | 222 | |
| 223 | 223 | /** |
| 224 | - * @return Mock|CategoriesService |
|
| 224 | + * @return Mock |
|
| 225 | 225 | */ |
| 226 | 226 | public function getMockCategoriesService() |
| 227 | 227 | { |
@@ -235,7 +235,7 @@ discard block |
||
| 235 | 235 | } |
| 236 | 236 | |
| 237 | 237 | /** |
| 238 | - * @return Mock|TagsService |
|
| 238 | + * @return Mock |
|
| 239 | 239 | */ |
| 240 | 240 | public function getMockTagsService() |
| 241 | 241 | { |
@@ -52,7 +52,6 @@ |
||
| 52 | 52 | * @param FieldModel $field |
| 53 | 53 | * @param string $fieldHandle |
| 54 | 54 | * @param FieldGroupModel|null $group |
| 55 | - * @param bool $force |
|
| 56 | 55 | */ |
| 57 | 56 | public function populate(array $fieldDefinition, FieldModel $field, $fieldHandle, FieldGroupModel $group = null) |
| 58 | 57 | { |