summaryrefslogtreecommitdiff
path: root/vendor/illuminate/support/Facades/Bus.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@webtrees.net>2019-03-02 20:17:25 +0000
committerGreg Roach <fisharebest@webtrees.net>2019-03-02 20:26:26 +0000
commit866d5c65fe408db2e4f6bb5f599abdfea335b606 (patch)
treea2b6ba223e49d5c373e2f8b65f19506b3de75217 /vendor/illuminate/support/Facades/Bus.php
parent3a5741c77b2ea4760331809fde5791f2f6ea0452 (diff)
downloadwebtrees-866d5c65fe408db2e4f6bb5f599abdfea335b606.tar.gz
webtrees-866d5c65fe408db2e4f6bb5f599abdfea335b606.tar.bz2
webtrees-866d5c65fe408db2e4f6bb5f599abdfea335b606.zip
Update vendor dependencies
Diffstat (limited to 'vendor/illuminate/support/Facades/Bus.php')
-rw-r--r--vendor/illuminate/support/Facades/Bus.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/vendor/illuminate/support/Facades/Bus.php b/vendor/illuminate/support/Facades/Bus.php
index 9bbd4901ee..611358afff 100644
--- a/vendor/illuminate/support/Facades/Bus.php
+++ b/vendor/illuminate/support/Facades/Bus.php
@@ -20,11 +20,13 @@ class Bus extends Facade
/**
* Replace the bound instance with a fake.
*
- * @return void
+ * @return \Illuminate\Support\Testing\Fakes\BusFake
*/
public static function fake()
{
- static::swap(new BusFake);
+ static::swap($fake = new BusFake);
+
+ return $fake;
}
/**