diff --git a/02 - Editing/01 - Completion/1.3. Type hinting.php b/02 - Editing/01 - Completion/1.3. Type hinting.php index af5ecd4d..1227a837 100644 --- a/02 - Editing/01 - Completion/1.3. Type hinting.php +++ b/02 - Editing/01 - Completion/1.3. Type hinting.php @@ -19,7 +19,7 @@ // $person-> // 2. We can solve this! - // Find the $people = array(); and add a PHPDoc comment: /** @var Person[] */ - this tells PhpStorm the array contains Person objects. + // Find the $people = array(); and add a PHPDoc comment: /** @var $people Person[] */ - this tells PhpStorm the array contains Person objects. // // Type $person-> and see for yourself that we now have autocompletion. @@ -36,4 +36,4 @@ // Note PhpStorm also supports @method, @type, @property, @deprecated, @global, @name, @param, @static, @since, @link, @mixin, ... // $person->A -} \ No newline at end of file +}