Skip to content

Commit

Permalink
Changed namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
ikwilkoffie committed Aug 21, 2018
1 parent f8eaf60 commit de3d712
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
18 changes: 9 additions & 9 deletions src/Tree.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php

namespace BlueM;
namespace Ikwilkoffie;

use BlueM\Tree\Exception\InvalidDatatypeException;
use BlueM\Tree\Exception\InvalidParentException;
use BlueM\Tree\Node;
use Ikwilkoffie\Tree\Exception\InvalidDatatypeException;
use Ikwilkoffie\Tree\Exception\InvalidParentException;
use Ikwilkoffie\Tree\Node;
use Illuminate\Support\ServiceProvider;

/**
Expand Down Expand Up @@ -55,8 +55,8 @@ class Tree implements \JsonSerializable
* (name of the ID field / array key, defaults to "id"), "parent", (name of the parent
* ID field / array key, defaults to "parent")
*
* @throws \BlueM\Tree\Exception\InvalidParentException
* @throws \BlueM\Tree\Exception\InvalidDatatypeException
* @throws \Ikwilkoffie\Tree\Exception\InvalidParentException
* @throws \Ikwilkoffie\Tree\Exception\InvalidDatatypeException
* @throws \InvalidArgumentException
*/
public function __construct()
Expand Down Expand Up @@ -93,8 +93,8 @@ public function setOptions($options)
/**
* @param array $data
*
* @throws \BlueM\Tree\Exception\InvalidParentException
* @throws \BlueM\Tree\Exception\InvalidDatatypeException
* @throws \Ikwilkoffie\Tree\Exception\InvalidParentException
* @throws \Ikwilkoffie\Tree\Exception\InvalidDatatypeException
*/
public function rebuildWithData(array $data)
{
Expand Down Expand Up @@ -190,7 +190,7 @@ public function getNodeByValuePath($name, array $search)
*
* @param array|\Traversable $data The data from which to generate the tree
*
* @throws \BlueM\Tree\Exception\InvalidParentException
* @throws \Ikwilkoffie\Tree\Exception\InvalidParentException
* @throws InvalidDatatypeException
*/
public function build($data)
Expand Down
2 changes: 1 addition & 1 deletion src/Tree/Exception/InvalidDatatypeException.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace BlueM\Tree\Exception;
namespace Ikwilkoffie\Tree\Exception;

/**
* Exception which will be thrown if a the data for a tree is given as an unusable type.
Expand Down
2 changes: 1 addition & 1 deletion src/Tree/Exception/InvalidParentException.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace BlueM\Tree\Exception;
namespace Ikwilkoffie\Tree\Exception;

/**
* Exception which will be thrown if a tree node's parent ID points to an inexistent node.
Expand Down
2 changes: 1 addition & 1 deletion src/Tree/Node.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace BlueM\Tree;
namespace Ikwilkoffie\Tree;

/**
* Represents a node in a tree of nodes.
Expand Down

0 comments on commit de3d712

Please sign in to comment.