Skip to content

Commit 2c80ddc

Browse files
committed
Add declare(strict_types=1);
1 parent 627df8c commit 2c80ddc

14 files changed

+30
-3
lines changed

Examples/Example.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
<?php
2+
declare(strict_types=1);
3+
24
require __DIR__ . '/../SourceQuery/bootstrap.php';
35

46
use xPaw\SourceQuery\SourceQuery;

Examples/RconExample.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
<?php
2+
declare(strict_types=1);
3+
24
require __DIR__ . '/../SourceQuery/bootstrap.php';
35

46
use xPaw\SourceQuery\SourceQuery;

SourceQuery/BaseSocket.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
<?php
2+
declare(strict_types=1);
3+
24
/**
35
* @author Pavel Djundik
46
*

SourceQuery/Buffer.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
<?php
2+
declare(strict_types=1);
3+
24
/**
35
* @author Pavel Djundik
46
*

SourceQuery/Exception/AuthenticationException.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
<?php
2+
declare(strict_types=1);
3+
24
/**
35
* @author Pavel Djundik
46
*

SourceQuery/Exception/InvalidArgumentException.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
<?php
2+
declare(strict_types=1);
3+
24
/**
35
* @author Pavel Djundik
46
*

SourceQuery/Exception/InvalidPacketException.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
<?php
2+
declare(strict_types=1);
3+
24
/**
35
* @author Pavel Djundik
46
*

SourceQuery/Exception/SocketException.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
<?php
2+
declare(strict_types=1);
3+
24
/**
35
* @author Pavel Djundik
46
*

SourceQuery/Exception/SourceQueryException.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
<?php
2+
declare(strict_types=1);
3+
24
/**
35
* @author Pavel Djundik
46
*

SourceQuery/GoldSourceRcon.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
<?php
2+
declare(strict_types=1);
3+
24
/**
35
* @author Pavel Djundik
46
*

0 commit comments

Comments
 (0)