@@ -20,7 +20,7 @@ discard block |
||
| 20 | 20 | /** |
| 21 | 21 | * Generate a SECRETS_FILE from user input. |
| 22 | 22 | * |
| 23 | - * @param scalar $step optional Where are we in the SECRETS_FILE creation workflow? (defaults to SECRETS_NEEDED_STEP -- the beginning) |
|
| 23 | + * @param integer $step optional Where are we in the SECRETS_FILE creation workflow? (defaults to SECRETS_NEEDED_STEP -- the beginning) |
|
| 24 | 24 | * |
| 25 | 25 | * @throws CanvasAPIviaLTI_Installer_Exception If form submission does not contain all required MySQL credentals (host, username, password and database) |
| 26 | 26 | * @throws CanvasAPIviaLTI_Installer_Exception If SECRETS_FILE cannot be created |
@@ -261,7 +261,7 @@ discard block |
||
| 261 | 261 | /** |
| 262 | 262 | * Obtain a Canvas API token, if needed. |
| 263 | 263 | * |
| 264 | - * @param scalar $step optional Where are we in the API token negotiation workflow? (defaults to API_DECISION_NEEDED_STEP -- the beginning) |
|
| 264 | + * @param integer $step optional Where are we in the API token negotiation workflow? (defaults to API_DECISION_NEEDED_STEP -- the beginning) |
|
| 265 | 265 | * @param boolean $skip optional Skip this step (defaults to FALSE) |
| 266 | 266 | * |
| 267 | 267 | * @throws CanvasAPIviaLTI_Installer_Exception If $step is not a pre-defined *_STEP constant |
@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | } |
| 92 | 92 | |
| 93 | 93 | /** |
| 94 | - * @return string|boolean The API access token for this user, or FALSE if no token has been acquired |
|
| 94 | + * @return string|false The API access token for this user, or FALSE if no token has been acquired |
|
| 95 | 95 | **/ |
| 96 | 96 | public function getToken() { |
| 97 | 97 | if ($this->token) { |
@@ -133,7 +133,7 @@ discard block |
||
| 133 | 133 | } |
| 134 | 134 | |
| 135 | 135 | /** |
| 136 | - * @return string|boolean The URL of the API for which the user's API token is valid, or FALSE if no token has been acquired |
|
| 136 | + * @return string|false The URL of the API for which the user's API token is valid, or FALSE if no token has been acquired |
|
| 137 | 137 | **/ |
| 138 | 138 | function getAPIUrl() { |
| 139 | 139 | if ($this->apiUrl) { |
@@ -11,7 +11,6 @@ |
||
| 11 | 11 | |
| 12 | 12 | require_once 'common.inc.php'; |
| 13 | 13 | |
| 14 | -use smtech\CanvasPest\CanvasPest; |
|
| 15 | 14 | use Battis\BootstrapSmarty\NotificationMessage; |
| 16 | 15 | |
| 17 | 16 | /** |