laravel-code-generator icon indicating copy to clipboard operation
laravel-code-generator copied to clipboard

Typo with method hint comments

Open thewebartisan7 opened this issue 5 years ago • 0 comments

Environment:

  • Laravel-Code-Generator Version: 2.2
  • Laravel Version: 7.18.0

Description:

Fix @param and @return of methods by adding namespace root ** \ **

Right now is:

    /**
     * Display a listing of the dummies.
     *
     * @return Illuminate\View\View
     */

Should be:

    /**
     * Display a listing of the dummies.
     *
     * @return \Illuminate\View\View
     */

Also getData() method has this issue:


    /**
     * Get the request's data from the request.
     *
     * @param Illuminate\Http\Request\Request $request
     * @return array
     */

Should be:


    /**
     * Get the request's data from the request.
     *
     * @param \Illuminate\Http\Request $request
     * @return array
     */

thewebartisan7 avatar Jul 08 '20 04:07 thewebartisan7