mirror of
https://github.com/JeroenED/libpairtwo.git
synced 2024-11-24 23:37:41 +01:00
Code style
This commit is contained in:
parent
b91dd1ea9a
commit
a70a9fcda3
@ -3,8 +3,6 @@
|
||||
|
||||
namespace JeroenED\Libpairtwo\Exceptions;
|
||||
|
||||
|
||||
class IncompatibleReaderException Extends LibpairtwoException
|
||||
class IncompatibleReaderException extends LibpairtwoException
|
||||
{
|
||||
|
||||
}
|
@ -3,8 +3,6 @@
|
||||
|
||||
namespace JeroenED\LibPairtwo\Exceptions;
|
||||
|
||||
|
||||
class LibpairtwoException extends \Exception
|
||||
{
|
||||
|
||||
}
|
@ -26,7 +26,7 @@
|
||||
|
||||
namespace JeroenED\Libpairtwo;
|
||||
|
||||
|
||||
use JeroenED\LibPairtwo\Exceptions\LibpairtwoException;
|
||||
|
||||
/**
|
||||
* This class reads a SWS file
|
||||
@ -41,13 +41,13 @@ class Sws
|
||||
* Reads out $swsfile and returns a Pairtwo6 class object
|
||||
*
|
||||
* @param string $swsfile
|
||||
* @throws LibpairtwoException
|
||||
* @deprecated
|
||||
*/
|
||||
public static function ReadSws(string $swsfile)
|
||||
{
|
||||
trigger_error ( "This function is deprecated. Please convert your code to use the new pattern. More info to be found on Github (https://github.com/JeroenED/libpairtwo/wiki/Converting-your-code-to-the-generalized-format).", E_USER_DEPRECATED);
|
||||
trigger_error("This function is deprecated. Please convert your code to use the new pattern. More info to be found on Github (https://github.com/JeroenED/libpairtwo/wiki/Converting-your-code-to-the-generalized-format).", E_USER_DEPRECATED);
|
||||
$reader = IOFactory::createReader("Pairtwo-6");
|
||||
return $reader->read($swsfile);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user