mirror of
https://github.com/danog/PrimeModule.git
synced 2024-11-26 20:34:37 +01:00
Apply fixes from StyleCI
This commit is contained in:
parent
a1edd96169
commit
ff9fc2d55f
@ -191,6 +191,7 @@ class PrimeModule
|
||||
if (!extension_loaded('primemodule')) {
|
||||
return false;
|
||||
}
|
||||
|
||||
try {
|
||||
return factorize($what);
|
||||
} catch (\Exception $e) {
|
||||
|
@ -69,7 +69,7 @@ class Struct
|
||||
* calcsize.
|
||||
*
|
||||
* Return the size of the struct (and hence of the string) corresponding to the given format.
|
||||
|
||||
*
|
||||
*
|
||||
* @param $format Format string
|
||||
*
|
||||
|
@ -79,7 +79,7 @@ class StructClass
|
||||
* calcsize.
|
||||
*
|
||||
* Return the size of the struct (and hence of the string) corresponding to the given format.
|
||||
|
||||
*
|
||||
*
|
||||
* @param $format Format string
|
||||
*
|
||||
|
@ -235,6 +235,7 @@ class StructTools
|
||||
if (error_reporting() === 0) {
|
||||
return true; // return true to continue through the others error handlers
|
||||
}
|
||||
|
||||
throw new StructException($errstr.' on line '.$errline, $errno);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user