@@ -10,6 +10,7 @@ discard block |
||
| 10 | 10 | * @param mixed $object |
| 11 | 11 | * @param string $property |
| 12 | 12 | * @param mixed $value |
| 13 | + * @return boolean |
|
| 13 | 14 | */ |
| 14 | 15 | public function canSet($object, $property, $value); |
| 15 | 16 | |
@@ -17,6 +18,7 @@ discard block |
||
| 17 | 18 | * @param mixed $object |
| 18 | 19 | * @param string $property |
| 19 | 20 | * @param mixed $value |
| 21 | + * @return void |
|
| 20 | 22 | */ |
| 21 | 23 | public function set($object, $property, $value); |
| 22 | 24 | } |
@@ -75,7 +75,7 @@ discard block |
||
| 75 | 75 | /** |
| 76 | 76 | * Get id |
| 77 | 77 | * |
| 78 | - * @return int |
|
| 78 | + * @return string |
|
| 79 | 79 | */ |
| 80 | 80 | public function getId() |
| 81 | 81 | { |
@@ -171,7 +171,7 @@ discard block |
||
| 171 | 171 | /** |
| 172 | 172 | * Set the date when the form submission was created |
| 173 | 173 | * |
| 174 | - * @param datetime $created |
|
| 174 | + * @param DateTime $created |
|
| 175 | 175 | * |
| 176 | 176 | * @return FormSubmission |
| 177 | 177 | */ |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | /** |
| 59 | 59 | * Get id |
| 60 | 60 | * |
| 61 | - * @return int |
|
| 61 | + * @return string |
|
| 62 | 62 | */ |
| 63 | 63 | public function getId() |
| 64 | 64 | { |
@@ -154,7 +154,7 @@ discard block |
||
| 154 | 154 | /** |
| 155 | 155 | * Get sequence |
| 156 | 156 | * |
| 157 | - * @return int |
|
| 157 | + * @return string |
|
| 158 | 158 | */ |
| 159 | 159 | public function getSequence() |
| 160 | 160 | { |
@@ -14,6 +14,7 @@ |
||
| 14 | 14 | * @param string $from The from address |
| 15 | 15 | * @param string $to The to address(es) seperated by \n |
| 16 | 16 | * @param string $subject The subject |
| 17 | + * @return void |
|
| 17 | 18 | */ |
| 18 | 19 | public function sendContactMail(FormSubmission $submission, $from, $to, $subject); |
| 19 | 20 | } |
@@ -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 | */ |
@@ -8,7 +8,6 @@ |
||
| 8 | 8 | use InvalidArgumentException; |
| 9 | 9 | use Kunstmaan\AdminBundle\Entity\BaseUser; |
| 10 | 10 | use Kunstmaan\AdminBundle\Entity\EntityInterface; |
| 11 | -use Kunstmaan\AdminBundle\Entity\User; |
|
| 12 | 11 | use Kunstmaan\AdminBundle\FlashMessages\FlashTypes; |
| 13 | 12 | use Kunstmaan\AdminBundle\Helper\FormWidgets\FormWidget; |
| 14 | 13 | use Kunstmaan\AdminBundle\Helper\FormWidgets\Tabs\Tab; |