Change to and from to use strings or arrays

This commit is contained in:
Oliver Davies 2017-12-30 10:49:31 +00:00
parent 02dddbdaf6
commit 9097da2972
3 changed files with 12 additions and 12 deletions

View file

@ -9,7 +9,7 @@ class BuilderTest extends TestCase
public function testBuild()
{
$filterA = (new Filter())
->from('foo@example.com', 'test@example.com')
->from(['foo@example.com', 'test@example.com'])
->label('Some label')
->archive();