diff --git a/oni-php/scripts/find-php-class b/oni-php/scripts/find-php-class index 65f43fc..d8795c2 100755 --- a/oni-php/scripts/find-php-class +++ b/oni-php/scripts/find-php-class @@ -5,7 +5,7 @@ (let* ((class-name (cadr args)) (file-names (run/strings (find "." -type f -name ,(string-append class-name ".php") - -exec grep "namespace" "{}" ";") + -exec grep "^namespace" "{}" ";") (> 2 "/dev/null")))) (format #t "~s" (delete-duplicates