Skip to content

Commit 12b9676

Browse files
committed
Update README.md
1 parent b7b85bb commit 12b9676

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class PhpError extends \Sokil\Bitmap
5555
* Hide errors
5656
* Set first bit, which represents E_ERROR, to "0"
5757
*/
58-
public function showErrors()
58+
public function hideErrors()
5959
{
6060
$this->unsetBit(0);
6161
return $this;
@@ -119,4 +119,4 @@ var_dump($error->isWarningsShown));
119119
// value may be set by mask
120120
// E_USER_ERROR | E_USER_WARNING is 256 + 512;
121121
$error->setBitsByMask(E_USER_ERROR + E_USER_WARNING);
122-
```
122+
```

0 commit comments

Comments
 (0)