@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | * |
105 | 105 | * @param string $class The fully-qualified class name. |
106 | 106 | * |
107 | - * @return mixed The mapped file name on success, or boolean false on |
|
107 | + * @return string|false The mapped file name on success, or boolean false on |
|
108 | 108 | * failure. |
109 | 109 | */ |
110 | 110 | public function load_class( $class ) { |
@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | * @param string $prefix The namespace prefix. |
143 | 143 | * @param string $relative_class The relative class name. |
144 | 144 | * |
145 | - * @return mixed Boolean false if no mapped file can be loaded, or the |
|
145 | + * @return false|string Boolean false if no mapped file can be loaded, or the |
|
146 | 146 | * name of the mapped file that was loaded. |
147 | 147 | */ |
148 | 148 | protected function load_mapped_file( $prefix, $relative_class ) { |