@@ -109,7 +109,7 @@ public function originatesFromAnObject()
109
109
public function originatingClass ()
110
110
{
111
111
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. ' );
113
113
}
114
114
115
115
return $ this ->originClass ;
@@ -121,7 +121,7 @@ public function originatingClass()
121
121
public function originatingMethod ()
122
122
{
123
123
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. ' );
125
125
}
126
126
127
127
return $ this ->originMethod ;
@@ -237,7 +237,7 @@ private function getPackage($path)
237
237
$ relativePath = substr ($ path , \strlen ($ vendorRoot ) + 1 );
238
238
$ vendor = strstr ($ relativePath , \DIRECTORY_SEPARATOR , true );
239
239
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 ));
241
241
}
242
242
243
243
return rtrim ($ vendor .'/ ' .strstr (substr (
@@ -247,7 +247,7 @@ private function getPackage($path)
247
247
}
248
248
}
249
249
250
- throw new \RuntimeException (sprintf ('No vendors found for path "%s" ' , $ path ));
250
+ throw new \RuntimeException (sprintf ('No vendors found for path "%s". ' , $ path ));
251
251
}
252
252
253
253
/**
0 commit comments