PluginProbe
Fluent Booking – The Ultimate Appointments Scheduling, Events Booking, Events Calendar Solution / 2.5.0
Fluent Booking – The Ultimate Appointments Scheduling, Events Booking, Events Calendar Solution v2.5.0
2.5.0 2.4.0 2.3.0 2.2.5 2.2.0 2.1.2 2.1.1 trunk 1.10.0 1.10.01 1.10.02 1.5.0 1.5.01 1.5.02 1.5.1 1.5.10 1.5.20 1.5.21 1.5.22 1.5.23 1.5.24 1.5.25 1.6.0 1.7.0 1.7.1 All 34 releases
← All changes | vendor/wpfluent/framework/src/WPFluent/Foundation/RequestGuard.php +3 -1 2.1.2 → 2.5.0 View file →
@@ -85,8 +85,10 @@
85 85 throw $e;
86 86 } else {
87 87 App::make()->doCustomAction('handle_exception', $e);
88 88 }
89 +
90 + return [];
89 91 }
90 92 }
91 93
92 94 /**
@@ -96,9 +98,9 @@
96 98 */
97 99 protected function shouldThrowException()
98 100 {
99 101 $isTrue = $this->isRest();
100 - $isTrue = $isTrue || str_contains('test', App::make()->env());
102 + $isTrue = $isTrue || str_contains(App::make()->env(), 'test');
101 103 $isTrue = $isTrue || str_contains(strtolower(php_sapi_name()), 'cli');
102 104 return $isTrue;
103 105 }
104 106