Completed
Push — master ( fcc574...6c8ef8 )
by Adeola
02:09
created
src/DictionaryEngine.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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)
Please login to merge, or discard this patch.