Skip to content

Commit 3a379ba

Browse files
committed
Added more typehints
1 parent 186e85e commit 3a379ba

File tree

4 files changed

+70
-63
lines changed

4 files changed

+70
-63
lines changed
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Codeception\Exception;
46

5-
class ExternalUrlException extends \Exception
7+
use Exception;
8+
9+
class ExternalUrlException extends Exception
610
{
711
}

src/Codeception/Lib/Framework.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Codeception\Lib;
46

57
/**
68
* Abstract module for PHP frameworks connected via Symfony BrowserKit components
79
* Each framework is connected with it's own connector defined in \Codeception\Lib\Connector
810
* Each module for framework should extend this class.
9-
*
1011
*/
1112
abstract class Framework extends InnerBrowser
1213
{
1314
/**
1415
* Returns a list of recognized domain names
15-
*
16-
* @return array
1716
*/
18-
protected function getInternalDomains()
17+
protected function getInternalDomains(): array
1918
{
2019
return [];
2120
}

0 commit comments

Comments
 (0)