Skip to content

Commit 736eef1

Browse files
updated typo by code review
1 parent 3ce8513 commit 736eef1

File tree

6 files changed

+9
-8
lines changed

6 files changed

+9
-8
lines changed

src/Bolt.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ private function unpackProtocolVersion()
171171
}
172172

173173
/**
174-
* PackException requested protocol versions
174+
* Pack requested protocol versions
175175
* @return string
176176
*/
177177
private function packProtocolVersions(): string

src/PackStream/v1/Packer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class Packer implements IPacker
2020
private const HUGE = 4294967295;
2121

2222
/**
23-
* PackException message with parameters
23+
* Pack message with parameters
2424
* @param $signature
2525
* @param mixed ...$params
2626
* @return string

src/PackStream/v1/Unpacker.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class Unpacker implements IUnpacker
5151
];
5252

5353
/**
54-
* UnpackException message
54+
* Unpack message
5555
* @param string $msg
5656
* @param int &$signature
5757
* @return mixed

src/error/MessageException.php

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

3-
43
namespace Bolt\error;
54

5+
use Exception;
6+
67
/**
78
* Class MessageException
89
*
910
* @author Michal Stefanak
1011
* @link https://github.com/stefanak-michal/Bolt
1112
* @package Bolt\error
1213
*/
13-
class MessageException extends \Exception
14+
class MessageException extends Exception
1415
{
1516

16-
}
17+
}

src/error/PackException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
class PackException extends Exception
1515
{
1616

17-
}
17+
}

src/error/UnpackException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
class UnpackException extends Exception
1515
{
1616

17-
}
17+
}

0 commit comments

Comments
 (0)