@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | |
51 | 51 | /** |
52 | 52 | * @param int $limit |
53 | - * @return bool |
|
53 | + * @return null|integer |
|
54 | 54 | */ |
55 | 55 | protected function checkLimit($limit) { |
56 | 56 | |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | |
68 | 68 | /** |
69 | 69 | * @param int $limit |
70 | - * @return bool |
|
70 | + * @return null|integer |
|
71 | 71 | */ |
72 | 72 | protected function checkLocalLimit($limit) { |
73 | 73 | |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | |
85 | 85 | /** |
86 | 86 | * @param string $caption |
87 | - * @return bool |
|
87 | + * @return null|string |
|
88 | 88 | */ |
89 | 89 | protected function checkCaptionLimit($caption) { |
90 | 90 | |
@@ -102,7 +102,7 @@ discard block |
||
102 | 102 | |
103 | 103 | /** |
104 | 104 | * @param $keyboard |
105 | - * @return bool |
|
105 | + * @return string|null |
|
106 | 106 | */ |
107 | 107 | protected function checkKeyboardType($keyboard) { |
108 | 108 | |
@@ -120,7 +120,7 @@ discard block |
||
120 | 120 | |
121 | 121 | /** |
122 | 122 | * @param string $actionType |
123 | - * @return bool |
|
123 | + * @return string|null |
|
124 | 124 | */ |
125 | 125 | protected function checkActionType($actionType) { |
126 | 126 | |
@@ -146,7 +146,7 @@ discard block |
||
146 | 146 | |
147 | 147 | /** |
148 | 148 | * @param string $mode |
149 | - * @return bool |
|
149 | + * @return null|string |
|
150 | 150 | */ |
151 | 151 | protected function checkParseModeType($mode) { |
152 | 152 |