fix error
Diff
src/Providers/WordpressServiceProvider.php | 1 -
src/Proxy/WordpressDatabase.php | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
@@ -124,7 +124,6 @@ class WordpressServiceProvider extends ServiceProvider
if ($this->app->runningInConsole()) {
// allow wordpress to run, even when running from console (ie. artisan compiling)
Request::server()
$_SERVER['SERVER_PROTOCOL'] = 'https';
$_SERVER['HTTP_HOST'] = parse_url(config('app.url'))['host'];
}
@@ -53,7 +53,7 @@ class WordpressDatabase extends wpdb
* Set the properties Wordpress expects so it will run queries for us
* through this class.
*
* @param bool $allow_bail
* @param bool $allowBail
*
* @return void
*/