Test Failed
Push — master ( 646b2a...0f2f24 )
by smiley
04:36
created
src/Gateway.php 3 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -80,12 +80,12 @@  discard block
 block discarded – undo
80 80
 	}
81 81
 
82 82
 	/**
83
-	 * @param       $endpoint
83
+	 * @param       string $endpoint
84 84
 	 * @param array $params
85 85
 	 * @param null  $body
86 86
 	 * @param array $headers
87 87
 	 *
88
-	 * @return mixed
88
+	 * @return string
89 89
 	 * @throws \chillerlan\Threema\EndpointException
90 90
 	 */
91 91
 	protected function getResponse($endpoint, $params = [], $body = null, $headers = []){
@@ -619,7 +619,7 @@  discard block
 block discarded – undo
619 619
 	 *
620 620
 	 * @param string $blobID
621 621
 	 *
622
-	 * @return mixed
622
+	 * @return string
623 623
 	 */
624 624
 	public function download(string $blobID){
625 625
 		return $this->getResponse('/blobs/'.$blobID, $this->getAuthParams());
@@ -692,7 +692,7 @@  discard block
 block discarded – undo
692 692
 	}
693 693
 
694 694
 	/**
695
-	 * @param $email
695
+	 * @param string $email
696 696
 	 *
697 697
 	 * @return null|string
698 698
 	 */
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -735,9 +735,9 @@
 block discarded – undo
735 735
 		$mime = 'application/octet-stream';
736 736
 
737 737
 		if(class_exists('finfo')){
738
-			$mime = (new \finfo(FILEINFO_MIME_TYPE ))->file($path);
738
+			$mime = (new \finfo(FILEINFO_MIME_TYPE))->file($path);
739 739
 		}
740
-		else if(function_exists('mime_content_type')) {
740
+		else if(function_exists('mime_content_type')){
741 741
 			$mime = mime_content_type($path);
742 742
 		}
743 743
 
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -737,7 +737,7 @@
 block discarded – undo
737 737
 		if(class_exists('finfo')){
738 738
 			$mime = (new \finfo(FILEINFO_MIME_TYPE ))->file($path);
739 739
 		}
740
-		else if(function_exists('mime_content_type')) {
740
+		else if(function_exists('mime_content_type')){
741 741
 			$mime = mime_content_type($path);
742 742
 		}
743 743
 
Please login to merge, or discard this patch.