mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-31 04:00:18 +02:00
Applied fixes from StyleCI
This commit is contained in:
committed by
StyleCI Bot
parent
3663603b80
commit
fe1f144ec3
@@ -5,17 +5,15 @@ namespace DesignPatterns\Creational\StaticFactory\Tests;
|
||||
use DesignPatterns\Creational\StaticFactory\StaticFactory;
|
||||
|
||||
/**
|
||||
* Tests for Static Factory pattern
|
||||
*
|
||||
* Tests for Static Factory pattern.
|
||||
*/
|
||||
class StaticFactoryTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
|
||||
public function getTypeList()
|
||||
{
|
||||
return array(
|
||||
array('string'),
|
||||
array('number')
|
||||
array('number'),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -33,6 +31,6 @@ class StaticFactoryTest extends \PHPUnit_Framework_TestCase
|
||||
*/
|
||||
public function testException()
|
||||
{
|
||||
StaticFactory::factory("");
|
||||
StaticFactory::factory('');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user