@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | * @param string|null $extendClass |
| 92 | 92 | * @param bool $withRepository |
| 93 | 93 | * |
| 94 | - * @return array |
|
| 94 | + * @return string[] |
|
| 95 | 95 | * |
| 96 | 96 | * @throws \RuntimeException |
| 97 | 97 | */ |
@@ -176,9 +176,9 @@ discard block |
||
| 176 | 176 | /** |
| 177 | 177 | * Generate the entity admin type. |
| 178 | 178 | * |
| 179 | - * @param $bundle |
|
| 180 | - * @param $entityName |
|
| 181 | - * @param $entityPrefix |
|
| 179 | + * @param BundleInterface $bundle |
|
| 180 | + * @param string $entityName |
|
| 181 | + * @param string $entityPrefix |
|
| 182 | 182 | * @param array $fields |
| 183 | 183 | * @param string $extendClass |
| 184 | 184 | */ |
@@ -115,6 +115,9 @@ |
||
| 115 | 115 | } |
| 116 | 116 | } |
| 117 | 117 | |
| 118 | + /** |
|
| 119 | + * @param string $pathInSkeleton |
|
| 120 | + */ |
|
| 118 | 121 | public static function getFullSkeletonPath($pathInSkeleton) |
| 119 | 122 | { |
| 120 | 123 | $pathInSkeleton = trim($pathInSkeleton); |
@@ -29,6 +29,7 @@ |
||
| 29 | 29 | * Constructor. Takes the configuration of the RemoveVideoHandler |
| 30 | 30 | * |
| 31 | 31 | * @param array $configuration |
| 32 | + * @param integer $priority |
|
| 32 | 33 | */ |
| 33 | 34 | public function __construct($priority, $configuration = array()) |
| 34 | 35 | { |
@@ -130,7 +130,7 @@ discard block |
||
| 130 | 130 | /** |
| 131 | 131 | * @param int $folderId |
| 132 | 132 | * |
| 133 | - * @return object |
|
| 133 | + * @return Folder |
|
| 134 | 134 | * |
| 135 | 135 | * @throws EntityNotFoundException |
| 136 | 136 | */ |
@@ -168,6 +168,7 @@ discard block |
||
| 168 | 168 | |
| 169 | 169 | /** |
| 170 | 170 | * {@inheritdoc} |
| 171 | + * @param Folder $node |
|
| 171 | 172 | */ |
| 172 | 173 | public function getPathQueryBuilder($node) |
| 173 | 174 | { |
@@ -338,7 +339,7 @@ discard block |
||
| 338 | 339 | |
| 339 | 340 | /** |
| 340 | 341 | * @param Folder $folder |
| 341 | - * @param $parent |
|
| 342 | + * @param Folder $parent |
|
| 342 | 343 | */ |
| 343 | 344 | private function persistInOrderedTree(Folder $folder, $parent) |
| 344 | 345 | { |
@@ -733,7 +733,7 @@ |
||
| 733 | 733 | * |
| 734 | 734 | * @param Request $request |
| 735 | 735 | * |
| 736 | - * @return string |
|
| 736 | + * @return JsonResponse |
|
| 737 | 737 | * |
| 738 | 738 | * @throws AccessDeniedException |
| 739 | 739 | */ |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | } |
| 47 | 47 | |
| 48 | 48 | /** |
| 49 | - * @param object $object |
|
| 49 | + * @param null|\Kunstmaan\NodeBundle\Entity\Node $object |
|
| 50 | 50 | * |
| 51 | 51 | * Create ACL permissions for an object |
| 52 | 52 | */ |
@@ -169,7 +169,7 @@ |
||
| 169 | 169 | /** |
| 170 | 170 | * Get pagePartId |
| 171 | 171 | * |
| 172 | - * @return int |
|
| 172 | + * @return string |
|
| 173 | 173 | */ |
| 174 | 174 | public function getPagePartId() |
| 175 | 175 | { |
@@ -9,6 +9,9 @@ |
||
| 9 | 9 | */ |
| 10 | 10 | interface HasPagePartsInterface |
| 11 | 11 | { |
| 12 | + /** |
|
| 13 | + * @return integer |
|
| 14 | + */ |
|
| 12 | 15 | public function getId(); |
| 13 | 16 | |
| 14 | 17 | /** |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | * A Node instance or the internal name. |
| 74 | 74 | * When the internal name is passed we'll get the node instance. |
| 75 | 75 | * Based on the language we'll locate the correct Page instance. |
| 76 | - * @param pagePartInterface $pagePart |
|
| 76 | + * @param PagePartInterface $pagePart |
|
| 77 | 77 | * A completely configured pagepart for this language |
| 78 | 78 | * @param string $language |
| 79 | 79 | * The languagecode. nl|fr|en|.. . Just one. |
@@ -203,7 +203,7 @@ discard block |
||
| 203 | 203 | * @param string $pagePartClassName the full class name of the pagepart you want to instantiate |
| 204 | 204 | * @param array $setters An array of setternames and their values. array('setName' => 'Kim', 'isDeveloper' => true) |
| 205 | 205 | * |
| 206 | - * @return callable the function that will instantiate a pagepart |
|
| 206 | + * @return \Closure the function that will instantiate a pagepart |
|
| 207 | 207 | */ |
| 208 | 208 | public function getCreatorArgumentsForPagePartAndProperties($pagePartClassName, array $setters = null) |
| 209 | 209 | { |