Completed
Branch account (35ca3e)
by vincent
02:39
created
src/VfacTmdb/Items/MovieCredit.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
 
48 48
     /**
49 49
      * Crew
50
-     * @return \Generator|Results\Crew
50
+     * @return \Generator
51 51
      */
52 52
     public function getCrew() : \Generator
53 53
     {
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
 
62 62
     /**
63 63
      * Cast
64
-     * @return \Generator|Results\Cast
64
+     * @return \Generator
65 65
      */
66 66
     public function getCast() : \Generator
67 67
     {
Please login to merge, or discard this patch.
src/VfacTmdb/Tmdb.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
      * Send request to TMDB API with GET method
121 121
      * @param string $action API action to request
122 122
      * @param array $options Array of options of the request (optional)
123
-     * @return \stdClass|null
123
+     * @return string
124 124
      */
125 125
     public function getRequest(string $action, array $options = array()) : ?\stdClass
126 126
     {
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
      * @param string $action API action to request
135 135
      * @param array $options Array of options of the request (optional)
136 136
      * @param array $form_params form_params for request options
137
-     * @return \stdClass|null
137
+     * @return string
138 138
      */
139 139
     public function postRequest(string $action, array $options = array(), array $form_params = array()) : ?\stdClass
140 140
     {
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
      * Send request to TMDB API with DELETE method
148 148
      * @param  string $action  API action to request
149 149
      * @param  array  $options Array of options of the request (optional)
150
-     * @return \stdClass|null
150
+     * @return string
151 151
      */
152 152
     public function deleteRequest(string $action, array $options = array()) : ?\stdClass
153 153
     {
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
      * @param string $method HTTP method (GET, POST)
162 162
      * @param string $url API url to request
163 163
      * @param array $form_params form params request options
164
-     * @return \stdClass|null
164
+     * @return string
165 165
      */
166 166
     protected function sendRequest(string $method, string $url, array $form_params = array()) : ?\stdClass
167 167
     {
Please login to merge, or discard this patch.