@@ -268,7 +268,7 @@ |
||
268 | 268 | * @param resource $pCurlHandler |
269 | 269 | * @param array $pCurlOptions |
270 | 270 | * |
271 | - * @return mixed |
|
271 | + * @return string |
|
272 | 272 | */ |
273 | 273 | private static function ExecuteRequest( &$pCurlHandler, &$pCurlOptions ) { |
274 | 274 | $start = microtime( true ); |
@@ -117,6 +117,9 @@ discard block |
||
117 | 117 | ( ( false === strpos( $pPath, '.' ) ) ? '.' . self::FORMAT : '' ) . $query; |
118 | 118 | } |
119 | 119 | |
120 | + /** |
|
121 | + * @param string $pCanonizedPath |
|
122 | + */ |
|
120 | 123 | abstract function MakeRequest( $pCanonizedPath, $pMethod = 'GET', $pParams = array() ); |
121 | 124 | |
122 | 125 | /** |
@@ -149,6 +152,9 @@ discard block |
||
149 | 152 | return $result; |
150 | 153 | } |
151 | 154 | |
155 | + /** |
|
156 | + * @param string $pPath |
|
157 | + */ |
|
152 | 158 | public function Api( $pPath, $pMethod = 'GET', $pParams = array() ) { |
153 | 159 | return $this->_Api( $this->CanonizePath( $pPath ), $pMethod, $pParams ); |
154 | 160 | } |
@@ -79,8 +79,6 @@ |
||
79 | 79 | * |
80 | 80 | * @param FooGalleryAttachment $foogallery_attachment |
81 | 81 | * @param array $args |
82 | - * @param bool $output_image |
|
83 | - * @param bool $output_closing_tag |
|
84 | 82 | * |
85 | 83 | * @return string |
86 | 84 | */ |