Skip to content

Commit 9b033e5

Browse files
committed
Update ParseAnnotation.php
1 parent e5cee23 commit 9b033e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/parseApi/ParseAnnotation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ protected function parseController($class)
298298
*/
299299
protected function autoCreateUrl($method): string
300300
{
301-
if (Config::get("controller_auto_search") || in_array('controller_auto_search',$this->config)){
301+
if (Config::get("controller_auto_search") || !empty($this->config['controller_auto_search'])){
302302
$pathArr = explode("\\", $method->class );
303303
}else{
304304
$searchString = $this->controller_layer . '\\';

0 commit comments

Comments
 (0)