@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | * within the database |
105 | 105 | * @param string $secret (Optional) A shared secret to authenticate this tool |
106 | 106 | * consumer |
107 | - * @return void |
|
107 | + * @return boolean |
|
108 | 108 | */ |
109 | 109 | public function createConsumer($name, $key = false, $secret = false) |
110 | 110 | { |
@@ -141,7 +141,7 @@ discard block |
||
141 | 141 | * ['requestType' => 'URL of script handling this request'] |
142 | 142 | * ``` |
143 | 143 | * |
144 | - * @param string|string[] $requestType_or_list |
|
144 | + * @param string[] $requestType_or_list |
|
145 | 145 | * @param string $url Ignored if `$requestType_or_list` is an array, |
146 | 146 | * required if `$requestType_or_list` is a string |
147 | 147 | */ |
@@ -3,15 +3,10 @@ |
||
3 | 3 | namespace smtech\ReflexiveCanvasLTI\LTI; |
4 | 4 | |
5 | 5 | use mysqli; |
6 | - |
|
7 | 6 | use LTI_Tool_Provider; |
8 | -use LTI_Context; |
|
9 | 7 | use LTI_Tool_Consumer; |
10 | -use LTI_User; |
|
11 | 8 | use LTI_Data_Connector; |
12 | 9 | |
13 | -use smtech\ReflexiveCanvasLTI\Canvas\User; |
|
14 | - |
|
15 | 10 | /** |
16 | 11 | * A simple LTI Tool Provider |
17 | 12 | * |
@@ -4,13 +4,10 @@ |
||
4 | 4 | |
5 | 5 | use mysqli; |
6 | 6 | use Serializable; |
7 | - |
|
8 | 7 | use Log; |
9 | - |
|
10 | 8 | use Battis\AppMetadata; |
11 | 9 | use Battis\ConfigXML; |
12 | 10 | use Battis\DataUtilities; |
13 | - |
|
14 | 11 | use smtech\CanvasPest\CanvasPest; |
15 | 12 | use smtech\ReflexiveCanvasLTI\LTI\ToolProvider; |
16 | 13 | use smtech\ReflexiveCanvasLTI\Exception\ConfigurationException; |