Skip to content

Commit

Permalink
[+]: fixed issue #1
Browse files Browse the repository at this point in the history
  • Loading branch information
Lars Moelleken committed Jan 25, 2016
1 parent 31cd69d commit f4c102f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Create.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

use Arrayy\Arrayy;
namespace Arrayy;

if (!function_exists('Arrayy\create')) {
/**
Expand Down
4 changes: 1 addition & 3 deletions tests/CreateTest.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
<?php

use Arrayy\Arrayy;

/**
* Class CreateTestCase
*/
class CreateTestCase extends PHPUnit_Framework_TestCase
{
public function testCreate()
{
$arrayy = Arrayy::create(array('foo bar', 'UTF-8'));
$arrayy = Arrayy\create(array('foo bar', 'UTF-8'));

static::assertInstanceOf('Arrayy\Arrayy', $arrayy);
static::assertEquals('foo bar,UTF-8', $arrayy);
Expand Down

0 comments on commit f4c102f

Please sign in to comment.