We do this for all parameters/return values. To be sure IDEs take these
into account
Le 15 févr. 2013 20:43, "Victor Berchet" <notifications@github.com> a
écrit :

> In eZ/Publish/Core/MVC/Legacy/Kernel/CLIHandler.php:
>
> >       *
> >       * @throws \RuntimeException
> >       */
> >      public function run()
> >      {
> > -        throw new RuntimeException( 'run() method is not supported by CLIHandler' );
> > +        if ( !isset( $this->embeddedScript ) )
> > +            throw new RuntimeException( 'No legacy script to run has been passed. Cannot run, aborting.' );
>
> Sorry, not used to that. Why adding "\" in the phpDoc then ?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/ezsystems/ezpublish-kernel/pull/229/files#r3034068>.
>
>