Make use of PHP 7.1 syntax

This commit is contained in:
Kamil Kokot
2017-07-10 20:29:20 +02:00
parent 740cf96584
commit e0b13a79f7
4 changed files with 36 additions and 24 deletions

View File

@@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
/*
* This file is part of the SymfonyExtension package.
*
@@ -20,7 +22,7 @@ final class SymfonyDriver extends BrowserKitDriver
* @param KernelInterface $kernel
* @param string $baseUrl
*/
public function __construct(KernelInterface $kernel, $baseUrl)
public function __construct(KernelInterface $kernel, string $baseUrl)
{
parent::__construct($kernel->getContainer()->get('test.client'), $baseUrl);
}