Skip to content

[5.4] fix breaking change - #20727

Merged
taylorotwell merged 1 commit into
laravel:5.4from
themsaid:fixBreaking/20692
Aug 24, 2017
Merged

[5.4] fix breaking change#20727
taylorotwell merged 1 commit into
laravel:5.4from
themsaid:fixBreaking/20692

Conversation

@themsaid

Copy link
Copy Markdown
Member

@taylorotwell
taylorotwell merged commit d55e8a2 into laravel:5.4 Aug 24, 2017
{
foreach ($attributes as &$attribute) {
if (is_callable($attribute)) {
if (is_callable($attribute) && ! is_string($attribute)) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Perfect! Just tripped on this with 'tan' when attempting upgrade to 5.4.34

@Jono20201

Copy link
Copy Markdown
Contributor

This was just tripping me out so much. Kept getting weird results when the factory used the dummy name 'Max'.

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