Passed
Pull Request — master (#1)
by Oguzhan
03:50 queued 47s
created
src/MusicBrainz/MusicBrainz.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -442,8 +442,8 @@  discard block
 block discarded – undo
442 442
     }
443 443
 
444 444
     /**
445
-     * @param       $entity
446
-     * @param       $mbid
445
+     * @param       string $entity
446
+     * @param       string $mbid
447 447
      * @param array $includes
448 448
      * @param int   $limit
449 449
      * @param null  $offset
@@ -560,7 +560,7 @@  discard block
 block discarded – undo
560 560
     /**
561 561
      * Check the list of allowed entities
562 562
      *
563
-     * @param $entity
563
+     * @param string $entity
564 564
      *
565 565
      * @return bool
566 566
      */
@@ -572,7 +572,7 @@  discard block
 block discarded – undo
572 572
     /**
573 573
      * Some calls require authentication
574 574
      *
575
-     * @param $entity
575
+     * @param string $entity
576 576
      * @param $includes
577 577
      *
578 578
      * @return bool
@@ -719,7 +719,7 @@  discard block
 block discarded – undo
719 719
     /**
720 720
      * Returns the MusicBrainz user
721 721
      *
722
-     * @return null|string
722
+     * @return string
723 723
      */
724 724
     public function getUser()
725 725
     {
@@ -739,7 +739,7 @@  discard block
 block discarded – undo
739 739
     /**
740 740
      * Returns the user’s password
741 741
      *
742
-     * @return null|string
742
+     * @return string
743 743
      */
744 744
     public function getPassword()
745 745
     {
Please login to merge, or discard this patch.
src/MusicBrainz/Release.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
     /**
109 109
      * @param array $releaseEvents
110 110
      *
111
-     * @return array
111
+     * @return \DateTime
112 112
      */
113 113
     public function getReleaseEventDates(array $releaseEvents)
114 114
     {
Please login to merge, or discard this patch.
src/MusicBrainz/HttpAdapters/GuzzleFiveAdapter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     {
22 22
         $this->client = $client;
23 23
 
24
-        if(filter_var($endpoint, FILTER_VALIDATE_URL)) {
24
+        if (filter_var($endpoint, FILTER_VALIDATE_URL)) {
25 25
             $this->endpoint = $endpoint;
26 26
         }
27 27
     }
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
      */
41 41
     public function call($path, array $params = array(), array $options = array(), $isAuthRequired = false, $returnArray = false)
42 42
     {
43
-        if($options['user-agent'] == '') {
43
+        if ($options['user-agent'] == '') {
44 44
             throw new Exception('You must set a valid User Agent before accessing the MusicBrainz API');
45 45
         }
46 46
 
Please login to merge, or discard this patch.