|
@@ -118,6 +118,7 @@ discard block |
|
|
block discarded – undo |
|
118
|
118
|
* a check to make sure the passed type is valid |
|
119
|
119
|
* |
|
120
|
120
|
* @param mixed the license type your trying to validate |
|
|
121
|
+ * @param integer $type |
|
121
|
122
|
* @return bool whether or not its a valid fantastico license type |
|
122
|
123
|
*/ |
|
123
|
124
|
public function is_type($type) { |
|
@@ -146,7 +147,7 @@ discard block |
|
|
block discarded – undo |
|
146
|
147
|
* [2] => 150.101.195.140 |
|
147
|
148
|
* ) |
|
148
|
149
|
* |
|
149
|
|
- * @param mixed $type one of the possible fantastico license types, defaults to {@link self::ALL_TYPES} |
|
|
150
|
+ * @param integer $type one of the possible fantastico license types, defaults to {@link self::ALL_TYPES} |
|
150
|
151
|
* @return false|array returns false on error or an array of license details |
|
151
|
152
|
*/ |
|
152
|
153
|
public function getIpList($type = self::ALL_TYPES) { |
|
@@ -199,7 +200,7 @@ discard block |
|
|
block discarded – undo |
|
199
|
200
|
* } |
|
200
|
201
|
* ) |
|
201
|
202
|
* |
|
202
|
|
- * @param mixed $type one of the possible fantastico license types, defaults to {@link self::ALL_TYPES} |
|
|
203
|
+ * @param integer $type one of the possible fantastico license types, defaults to {@link self::ALL_TYPES} |
|
203
|
204
|
* @return false|array returns false on error or an array of license details |
|
204
|
205
|
*/ |
|
205
|
206
|
public function getIpListDetailed($type = self::ALL_TYPES) { |
Please login to merge, or discard this patch.