Completed
Push — master ( f323bf...0da584 )
by Byron
02:55
created
src/MicrosoftTranslator.php 2 patches
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -68,8 +68,8 @@  discard block
 block discarded – undo
68 68
     }
69 69
 
70 70
     /**
71
-     * @param $id
72
-     * @param $secret
71
+     * @param string $id
72
+     * @param string $secret
73 73
      */
74 74
     public function setClient($id, $secret)
75 75
     {
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
     }
103 103
 
104 104
     /**
105
-     * @param $action
105
+     * @param string $action
106 106
      * @param $params
107 107
      * @param string $method
108 108
      * @return null|string
@@ -165,10 +165,10 @@  discard block
 block discarded – undo
165 165
     }
166 166
 
167 167
     /**
168
-     * @param $text
169
-     * @param $to
170
-     * @param $from
171
-     * @return mixed
168
+     * @param string $text
169
+     * @param string $to
170
+     * @param string $from
171
+     * @return null|string
172 172
      */
173 173
     public function translate($text, $to, $from)
174 174
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 use badams\MicrosoftTranslator\Exceptions\ArgumentException;
5 5
 use badams\MicrosoftTranslator\Exceptions\AuthException;
6 6
 use badams\MicrosoftTranslator\Exceptions\QuotaExceededException;
7
-use badams\MicrosoftTranslator\Exceptions\RecoverableException;
8 7
 use badams\MicrosoftTranslator\Exceptions\TokenExpiredException;
9 8
 use badams\MicrosoftTranslator\Exceptions\TranslatorException;
10 9
 use GuzzleHttp\Exception\RequestException;
Please login to merge, or discard this patch.