Skip to content

Commit

Permalink
minor code improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
stil committed Jun 18, 2013
1 parent 37fa871 commit 52dd68f
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Erpk/Harvester/Client/Selector/XPathList.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

class XPathList implements Iterator, Countable
{
protected $search=array();
protected $search = array();
protected $result;
protected $xpath;
protected $length;
Expand Down
2 changes: 1 addition & 1 deletion src/Erpk/Harvester/Client/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Session
'citizen.name' => null
);

public function __construct($savePath)
public function __construct($savePath)
{
$this->savePath=$savePath;
$cookieJar = new ArrayCookieJar();
Expand Down
3 changes: 2 additions & 1 deletion src/Erpk/Harvester/Exception/Exception.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
namespace Erpk\Harvester\Exception;

class Exception extends \Exception
{}
{
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
<?php
namespace Erpk\Harvester\Module\Citizen\Exception;

use Erpk\Harvester\Exception\Exception;

class CitizenNotFoundException extends Exception
{
}
8 changes: 8 additions & 0 deletions src/Erpk/Harvester/Module/Citizen/Exception/Exception.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php
namespace Erpk\Harvester\Module\Citizen\Exception;

use RuntimeException;

class Exception extends RuntimeException
{
}

0 comments on commit 52dd68f

Please sign in to comment.