@@ -109,7 +109,7 @@ public function originatesFromAnObject()
109109 public function originatingClass ()
110110 {
111111 if (null === $ this ->originClass ) {
112- throw new \LogicException ('Check with originatesFromAnObject() before calling this method ' );
112+ throw new \LogicException ('Check with originatesFromAnObject() before calling this method. ' );
113113 }
114114
115115 return $ this ->originClass ;
@@ -121,7 +121,7 @@ public function originatingClass()
121121 public function originatingMethod ()
122122 {
123123 if (null === $ this ->originMethod ) {
124- throw new \LogicException ('Check with originatesFromAnObject() before calling this method ' );
124+ throw new \LogicException ('Check with originatesFromAnObject() before calling this method. ' );
125125 }
126126
127127 return $ this ->originMethod ;
@@ -237,7 +237,7 @@ private function getPackage($path)
237237 $ relativePath = substr ($ path , \strlen ($ vendorRoot ) + 1 );
238238 $ vendor = strstr ($ relativePath , \DIRECTORY_SEPARATOR , true );
239239 if (false === $ vendor ) {
240- throw new \RuntimeException (sprintf ('Could not find directory separator "%s" in path "%s" ' , \DIRECTORY_SEPARATOR , $ relativePath ));
240+ throw new \RuntimeException (sprintf ('Could not find directory separator "%s" in path "%s". ' , \DIRECTORY_SEPARATOR , $ relativePath ));
241241 }
242242
243243 return rtrim ($ vendor .'/ ' .strstr (substr (
@@ -247,7 +247,7 @@ private function getPackage($path)
247247 }
248248 }
249249
250- throw new \RuntimeException (sprintf ('No vendors found for path "%s" ' , $ path ));
250+ throw new \RuntimeException (sprintf ('No vendors found for path "%s". ' , $ path ));
251251 }
252252
253253 /**
0 commit comments