summaryrefslogtreecommitdiff
path: root/tests/Unit/Database/DatabaseServiceProviderTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Unit/Database/DatabaseServiceProviderTest.php')
-rw-r--r--tests/Unit/Database/DatabaseServiceProviderTest.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/Unit/Database/DatabaseServiceProviderTest.php b/tests/Unit/Database/DatabaseServiceProviderTest.php
index 7dae065f..c9c6f9e3 100644
--- a/tests/Unit/Database/DatabaseServiceProviderTest.php
+++ b/tests/Unit/Database/DatabaseServiceProviderTest.php
@@ -13,7 +13,7 @@ use Illuminate\Database\Capsule\Manager as CapsuleManager;
use Illuminate\Database\Connection;
use PDO;
use PDOException;
-use PHPUnit_Framework_MockObject_MockObject as MockObject;
+use PHPUnit\Framework\MockObject\MockObject;
class DatabaseServiceProviderTest extends ServiceProviderTest
{
@@ -78,13 +78,13 @@ class DatabaseServiceProviderTest extends ServiceProviderTest
*/
protected function prepare($dbConfigData, $getPdoThrowException = false)
{
- /** @var MockObject|Config $config */
+ /** @var Config|MockObject $config */
$config = $this->getMockBuilder(Config::class)
->getMock();
- /** @var MockObject|CapsuleManager $config */
+ /** @var CapsuleManager|MockObject $config */
$dbManager = $this->getMockBuilder(CapsuleManager::class)
->getMock();
- /** @var MockObject|Connection $connection */
+ /** @var Connection|MockObject $connection */
$connection = $this->getMockBuilder(Connection::class)
->disableOriginalConstructor()
->getMock();