@@ -140,7 +140,7 @@ discard block |
||
| 140 | 140 | * @param string $vendorPath Path to the vendor directory. |
| 141 | 141 | * @param string $basePath Base Path. |
| 142 | 142 | * |
| 143 | - * @return array $classMap |
|
| 143 | + * @return string $classMap |
|
| 144 | 144 | */ |
| 145 | 145 | private function getClassMap( array $autoloads, Filesystem $filesystem, $vendorPath, $basePath ) { |
| 146 | 146 | $blacklist = null; // not supported for now. |
@@ -178,7 +178,7 @@ discard block |
||
| 178 | 178 | /** |
| 179 | 179 | * Generate the PHP that will be used in the autoload_classmap_package.php files. |
| 180 | 180 | * |
| 181 | - * @param srting $classMap class map array string that is to be written out to the file. |
|
| 181 | + * @param string $classMap class map array string that is to be written out to the file. |
|
| 182 | 182 | * |
| 183 | 183 | * @return string |
| 184 | 184 | */ |
@@ -217,7 +217,7 @@ |
||
| 217 | 217 | * |
| 218 | 218 | * @param string $type The type of option to return. Defaults to 'compact'. |
| 219 | 219 | * |
| 220 | - * @return array |
|
| 220 | + * @return string[] |
|
| 221 | 221 | */ |
| 222 | 222 | public function get_option_names( $type = 'compact' ) { |
| 223 | 223 | switch ( $type ) { |
@@ -272,7 +272,7 @@ |
||
| 272 | 272 | * This function checks for a constant that, if present, will disable direct DB queries Jetpack uses to manage certain options and force Jetpack to always use Options API instead. |
| 273 | 273 | * Options can be selectively managed via a blacklist by filtering option names via the jetpack_disabled_raw_option filter. |
| 274 | 274 | * |
| 275 | - * @param $name Option name |
|
| 275 | + * @param string $name Option name |
|
| 276 | 276 | * |
| 277 | 277 | * @return bool |
| 278 | 278 | */ |