[BUGFIX] Use correct property for images in FrontendUser
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / Classes / Domain / Model / FrontendUser.php
index 3845d5d..195b4c0 100644 (file)
@@ -112,9 +112,9 @@ class FrontendUser extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
     protected $company = '';
 
     /**
-     * @var string
+     * @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\TYPO3\CMS\Extbase\Domain\Model\FileReference>
      */
-    protected $image = '';
+    protected $image = null;
 
     /**
      * @var \DateTime|NULL
@@ -578,20 +578,19 @@ class FrontendUser extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
     /**
      * Sets the image value
      *
-     * @param string $image
-     * @return void
      * @api
+     * @param \TYPO3\CMS\Extbase\Persistence\ObjectStorage $image
      */
-    public function setImage($image)
+    public function setImage(\TYPO3\CMS\Extbase\Persistence\ObjectStorage $image)
     {
         $this->image = $image;
     }
 
     /**
-     * Returns the image value
+     * Gets the image value
      *
-     * @return string
      * @api
+     * @return \TYPO3\CMS\Extbase\Persistence\ObjectStorage
      */
     public function getImage()
     {