@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | * @param string $word The array key to add |
57 | 57 | * @param string $description The array description to add |
58 | 58 | * @param string $sampleSentence The array sample sentence to add |
59 | - * @return Array |
|
59 | + * @return boolean |
|
60 | 60 | */ |
61 | 61 | public function add($word, $description, $sampleSentence) |
62 | 62 | { |
@@ -111,8 +111,8 @@ discard block |
||
111 | 111 | * @newSampleSentence with "sampleSentence". If the word is not, WordNotFoundException is thrown. |
112 | 112 | * |
113 | 113 | * @param string $word The array key to update |
114 | - * @param string $description The array description to update |
|
115 | - * @param string $sampleSentence The array sample sentence to update |
|
114 | + * @param string $newDescription The array description to update |
|
115 | + * @param string $newSampleSentence The array sample sentence to update |
|
116 | 116 | * @return Array |
117 | 117 | * @throws WordNotFoundException |
118 | 118 | */ |
@@ -139,7 +139,7 @@ discard block |
||
139 | 139 | * in the dictionary. If the word is not found, WordNotFoundException is thrown. |
140 | 140 | * |
141 | 141 | * @param string $word The array key to delete |
142 | - * @return Array |
|
142 | + * @return boolean |
|
143 | 143 | * @throws UserException |
144 | 144 | */ |
145 | 145 | public function delete($word) |