Skip to content

Commit 6e08a74

Browse files
author
Alex Westergaard
committed
Fix docblock for IDE safechecking
1 parent d409e79 commit 6e08a74

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/GA4Exception.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function clean()
4242
* Add new GA4Exception to stack without further action
4343
*
4444
* @param string $message
45-
* @param integer $code
45+
* @param int $code
4646
* @return void
4747
*/
4848
public static function push(string $message, int $code = 0)
@@ -53,7 +53,7 @@ public static function push(string $message, int $code = 0)
5353
/**
5454
* Check if the stack has any instances
5555
*
56-
* @return boolean
56+
* @return bool
5757
*/
5858
public static function hasStack()
5959
{
@@ -63,7 +63,7 @@ public static function hasStack()
6363
/**
6464
* Return unmodified stack
6565
*
66-
* @return void
66+
* @return AlexWestergaard\PhpGa4\GA4Exception|null
6767
*/
6868
public static function getStack()
6969
{
@@ -74,7 +74,7 @@ public static function getStack()
7474
* Returns stack and resets/cleans the stack; this one should be used when throwing \
7575
* to avoid future try-catch blocks will hit the stack build during current run.
7676
*
77-
* @return void
77+
* @return AlexWestergaard\PhpGa4\GA4Exception|null
7878
*/
7979
public static function getFinalStack()
8080
{

0 commit comments

Comments
 (0)