make type hints easier to read

This commit is contained in:
Dennis Eichhorn 2020-06-08 22:43:28 +02:00
parent 7dcf71295b
commit a223ba1e18

View File

@ -15,10 +15,8 @@ declare(strict_types=1);
use Modules\Media\Models\NullMedia; use Modules\Media\Models\NullMedia;
use phpOMS\Uri\UriFactory; use phpOMS\Uri\UriFactory;
/** /** @var \phpOMS\Views\View $this */
* @var \phpOMS\Views\View $this /** @var \Modules\Profile\Models\Profile $profile */
* @var \Modules\Profile\Models\Profile $profile
*/
$profile = $this->getData('account'); $profile = $this->getData('account');
$media = $this->getDatA('media') ?? []; $media = $this->getDatA('media') ?? [];