Skip to content

Commit

Permalink
replace or
Browse files Browse the repository at this point in the history
  • Loading branch information
wing5wong committed Oct 21, 2024
1 parent 37bd56c commit 65d5d22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Providers/RequestXmlServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ protected function registerIsXml()
protected function registerXml()
{
Request::macro('xml', function () {
if (!$this->isXml() or empty($this->getContent())) {
if (!$this->isXml() || empty($this->getContent())) {
return [];
}
try {
Expand Down

0 comments on commit 65d5d22

Please sign in to comment.