Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Change class_exists to interface_exists when requesting logs#295

Merged
kattrali merged 2 commits into
masterfrom
cawllec/interface-exists-fix
Mar 6, 2018
Merged

Change class_exists to interface_exists when requesting logs#295
kattrali merged 2 commits into
masterfrom
cawllec/interface-exists-fix

Conversation

@Cawllec
Copy link
Copy Markdown
Contributor

@Cawllec Cawllec commented Mar 6, 2018

Changes class_exists calls on Illuminate\Contracts\Logging\Log to interface_exists to ensure the correct logger is returned.

@Cawllec Cawllec requested a review from kattrali March 6, 2018 16:52
@GrahamCampbell
Copy link
Copy Markdown
Contributor

Looks good. 👍 Odd that the sample 5.5 app still worked though?

@Cawllec
Copy link
Copy Markdown
Contributor Author

Cawllec commented Mar 6, 2018

I can only think it's that the sample app isn't calling the useFiles methods so the previous interface was ok.

@kattrali
Copy link
Copy Markdown
Contributor

kattrali commented Mar 6, 2018

I can only think it's that the sample app isn't calling the useFiles methods so the previous interface was ok.

Exactly that. I tested between 5.2 and latest and confirmed that everything worked as expected when not using useFiles.

@kattrali kattrali merged commit 8d83d93 into master Mar 6, 2018
@kattrali kattrali deleted the cawllec/interface-exists-fix branch March 6, 2018 18:22
@GrahamCampbell
Copy link
Copy Markdown
Contributor

Ah, I see. Makes sense!

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.

3 participants