File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -111,15 +111,15 @@ public function parse($str)
111111 case T_NEW :
112112 case T_EXTENDS :
113113 $ this ->addDependency ($ this ->readName ());
114- continue ;
114+ break ;
115115
116116 case T_DOUBLE_COLON :
117117 $ this ->addDependency ($ this ->readStaticClass ());
118- continue ;
118+ break ;
119119
120120 case T_IMPLEMENTS :
121121 $ this ->addDependency ($ this ->readImplements ());
122- continue ;
122+ break ;
123123
124124 // define
125125 case T_CLASS :
@@ -128,13 +128,13 @@ public function parse($str)
128128
129129 case T_INTERFACE :
130130 $ this ->addClass ($ this ->namespace . '\\' . $ this ->readIdentifier ());
131- continue ;
131+ break ;
132132
133133 // namespace
134134 case self ::$ T_NAMESPACE :
135135 $ this ->namespace = $ this ->readIdentifier ();
136136 $ this ->use = array ();
137- continue ;
137+ break ;
138138
139139 // USE keywords
140140 case T_USE :
@@ -146,7 +146,7 @@ public function parse($str)
146146 {
147147 $ this ->use = array_merge ($ this ->use , $ this ->readUse ());
148148 }
149- continue ;
149+ break ;
150150
151151 case '{ ' :
152152 $ this ->level ++;
@@ -155,7 +155,7 @@ public function parse($str)
155155 {
156156 $ this ->inClass = $ this ->level ;
157157 }
158- continue ;
158+ break ;
159159
160160 case '} ' :
161161 if ($ this ->inClass === $ this ->level )
@@ -164,7 +164,7 @@ public function parse($str)
164164 }
165165
166166 $ this ->level --;
167- continue ;
167+ break ;
168168 }
169169 }
170170 }
@@ -325,7 +325,7 @@ private function readIdentifier($readNamespaceKeyword = FALSE)
325325 $ name .= $ token [1 ];
326326
327327 case T_WHITESPACE :
328- continue ;
328+ break ;
329329
330330 default :
331331 $ this ->prev ();
You can’t perform that action at this time.
0 commit comments