@@ -145,7 +145,7 @@ discard block |
||
145 | 145 | } |
146 | 146 | |
147 | 147 | /** |
148 | - * @return mixed |
|
148 | + * @return string |
|
149 | 149 | */ |
150 | 150 | public function getProviderName() |
151 | 151 | { |
@@ -204,7 +204,7 @@ discard block |
||
204 | 204 | } |
205 | 205 | |
206 | 206 | /** |
207 | - * @param mixed $image |
|
207 | + * @param string $image |
|
208 | 208 | * @return Media |
209 | 209 | */ |
210 | 210 | public function setImage($image) |
@@ -325,7 +325,7 @@ discard block |
||
325 | 325 | } |
326 | 326 | |
327 | 327 | /** |
328 | - * @return mixed |
|
328 | + * @return \DateTime |
|
329 | 329 | */ |
330 | 330 | public function getCreatedAt() |
331 | 331 | { |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use Doctrine\ORM\Mapping as ORM; |
6 | 6 | use MediaMonks\SonataMediaBundle\Model\MediaInterface; |
7 | 7 | use MediaMonks\SonataMediaBundle\Model\MediaTrait; |
8 | -use Symfony\Component\Validator\Constraints as Assert; |
|
9 | 8 | |
10 | 9 | /** |
11 | 10 | * @ORM\Entity(repositoryClass="MediaRepository") |