@@ -811,7 +811,7 @@ |
||
811 | 811 | /** |
812 | 812 | * Output the JS for building the dynamic Guntenberg block. |
813 | 813 | * |
814 | - * @return mixed |
|
814 | + * @return string |
|
815 | 815 | */ |
816 | 816 | public function block() { |
817 | 817 | ob_start(); |
@@ -28,6 +28,9 @@ |
||
28 | 28 | 'WP_Super_Duper' => __DIR__ . '/..' . '/ayecode/wp-super-duper/wp-super-duper.php', |
29 | 29 | ); |
30 | 30 | |
31 | + /** |
|
32 | + * @return callable |
|
33 | + */ |
|
31 | 34 | public static function getInitializer(ClassLoader $loader) |
32 | 35 | { |
33 | 36 | return \Closure::bind(function () use ($loader) { |
@@ -367,6 +367,10 @@ |
||
367 | 367 | return $file; |
368 | 368 | } |
369 | 369 | |
370 | + /** |
|
371 | + * @param string $class |
|
372 | + * @param string $ext |
|
373 | + */ |
|
370 | 374 | private function findFileWithExtension($class, $ext) |
371 | 375 | { |
372 | 376 | // PSR-4 lookup |