This repository was archived by the owner on May 8, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -100,8 +100,10 @@ public function supports(SplFileInfo $file): bool
100100
101101 /**
102102 * Get the token representing the name of the class.
103+ *
104+ * @return array|null
103105 */
104- protected function findClassNameToken (Tokens $ tokens ): array | null
106+ protected function findClassNameToken (Tokens $ tokens )
105107 {
106108 foreach ($ tokens as $ index => $ token ) {
107109 if ($ token ->isGivenKind (T_CLASS )) {
Original file line number Diff line number Diff line change @@ -105,8 +105,10 @@ public function supports(SplFileInfo $file): bool
105105
106106 /**
107107 * Get the token representing the name of the class.
108+ *
109+ * @return array|null
108110 */
109- protected function findClassNameToken (Tokens $ tokens ): array | null
111+ protected function findClassNameToken (Tokens $ tokens )
110112 {
111113 foreach ($ tokens as $ index => $ token ) {
112114 if ($ token ->isGivenKind (T_CLASS )) {
Original file line number Diff line number Diff line change @@ -49,8 +49,10 @@ public function __construct(\SplFileInfo $file)
4949
5050 /**
5151 * Identify the Laravel component in the analyzed file.
52+ *
53+ * @return string|null
5254 */
53- public static function identify (\SplFileInfo $ file ): string | null
55+ public static function identify (\SplFileInfo $ file )
5456 {
5557 $ instance = new static ($ file );
5658
You can’t perform that action at this time.
0 commit comments