Skip to content

Commit 021402a

Browse files
committed
Strict attribute and return types introduced where ever possible
1 parent aa09892 commit 021402a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Client.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class Client {
5454
*
5555
* @var int
5656
*/
57-
public $port;
57+
public int $port;
5858

5959
/**
6060
* Service protocol.
@@ -287,8 +287,7 @@ protected function setEventsFromConfig($config): void {
287287
*
288288
* @throws MaskNotFoundException
289289
*/
290-
protected function setMaskFromConfig($config) {
291-
$default_config = ClientManager::get("masks");
290+
protected function setMaskFromConfig($config): void {
292291

293292
if(isset($config['masks'])){
294293
if(isset($config['masks']['message'])) {

0 commit comments

Comments
 (0)