Skip to content

[5.4] Fix make:policy Command - #20645

Closed
ahmed-aliraqi wants to merge 1 commit into
laravel:5.4from
ahmed-aliraqi:5.4
Closed

ahmed-aliraqi wants to merge 1 commit into
laravel:5.4from
ahmed-aliraqi:5.4

Conversation

@ahmed-aliraqi

Copy link
Copy Markdown
Contributor

When create the User policy php artisan make:policy UserPolicy -m User
will duplicate the App\User class imports

screenshot

$stub = str_replace('NamespacedDummyModel', $this->laravel->getNamespace().$model, $stub);
}

$namspaceModel = $this->laravel->getNamespace().$model;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo in var name

@tillkruss tillkruss changed the title Fix make:policy Command [5.4] Fix make:policy Command Aug 20, 2017
@taylorotwell

Copy link
Copy Markdown
Member

This PR has typos.

@aik099

aik099 commented Aug 21, 2017

Copy link
Copy Markdown
Contributor

@taylorotwell , I'm wondering why are you closing PR instantly if issues are found during review process. This completely disables dialog possibility on PR code or even fixing attempt as separate commit on same PR.

Any practical reasons behind this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants