@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | * |
35 | 35 | * @param string $constant constant name |
36 | 36 | * @param mixed $value value |
37 | - * @param string $class_name class::method to apply this patch |
|
37 | + * @param string $class_method class::method to apply this patch |
|
38 | 38 | * |
39 | 39 | * @throws LogicException |
40 | 40 | */ |
@@ -53,6 +53,9 @@ discard block |
||
53 | 53 | self::$patches_to_apply = []; |
54 | 54 | } |
55 | 55 | |
56 | + /** |
|
57 | + * @param string $constant |
|
58 | + */ |
|
56 | 59 | protected static function logInvocation($constant) |
57 | 60 | { |
58 | 61 | if (MonkeyPatchManager::$debug) |
@@ -70,6 +73,9 @@ discard block |
||
70 | 73 | } |
71 | 74 | } |
72 | 75 | |
76 | + /** |
|
77 | + * @param string $constant |
|
78 | + */ |
|
73 | 79 | protected static function checkCalledMethod($constant) |
74 | 80 | { |
75 | 81 | $trace = debug_backtrace(); |