Completed
Push — master ( 320388...082606 )
by Adeola
02:36
created
src/DictionaryEngine.php 2 patches
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,8 +14,8 @@
 block discarded – undo
14 14
  */
15 15
 
16 16
 namespace Demo\UrbanDictionary;
17
-use Demo\UrbanDictionary\UrbanWords;
18 17
 use Demo\UrbanDictionary\Dictionary;
18
+use Demo\UrbanDictionary\UrbanWords;
19 19
 use Demo\UrbanDictionary\UserException;
20 20
 
21 21
 class DictionaryEngine implements Dictionary
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
      *
63 63
      * @param  $description 
64 64
      * @param  $sampleSentence
65
-     * @return array
65
+     * @return boolean
66 66
      */
67 67
     public function add($description, $sampleSentence) 
68 68
     {
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
      * associative array. If found, It deletes the word, description and sample sentence
144 144
      * in the dictionary. If the word is not found, WordNotFoundException is thrown.
145 145
      *
146
-     * @return Array
146
+     * @return boolean
147 147
      * @throws UserException 
148 148
      */
149 149
     public function delete()
Please login to merge, or discard this patch.