@@ -16,9 +16,9 @@ |
||
| 16 | 16 | * */ |
| 17 | 17 | class EmptyTableException extends PDOException |
| 18 | 18 | { |
| 19 | - /** |
|
| 20 | - * constructor class |
|
| 21 | - * */ |
|
| 19 | + /** |
|
| 20 | + * constructor class |
|
| 21 | + * */ |
|
| 22 | 22 | public function __construct() |
| 23 | 23 | { |
| 24 | 24 | parent::__construct('The table is empty.'); |
@@ -15,9 +15,9 @@ |
||
| 15 | 15 | |
| 16 | 16 | class RecordNotFoundException extends PDOException |
| 17 | 17 | { |
| 18 | - /** |
|
| 19 | - * constructor class |
|
| 20 | - * */ |
|
| 18 | + /** |
|
| 19 | + * constructor class |
|
| 20 | + * */ |
|
| 21 | 21 | public function __construct() |
| 22 | 22 | { |
| 23 | 23 | $this->message(); |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @package A simple ORM that performs basic CRUD operations |
|
| 4 | - * @author Surajudeen AKANDE <[email protected]> |
|
| 5 | - * @license MIT <https://opensource.org/licenses/MIT> |
|
| 6 | - * @link http://www.github.com/andela-sakande |
|
| 7 | - * */ |
|
| 3 | + * @package A simple ORM that performs basic CRUD operations |
|
| 4 | + * @author Surajudeen AKANDE <[email protected]> |
|
| 5 | + * @license MIT <https://opensource.org/licenses/MIT> |
|
| 6 | + * @link http://www.github.com/andela-sakande |
|
| 7 | + * */ |
|
| 8 | 8 | namespace Sirolad\Exceptions; |
| 9 | 9 | |
| 10 | 10 | use PDOException; |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @package A simple ORM that performs basic CRUD operations |
|
| 4 | - * @author Surajudeen AKANDE <[email protected]> |
|
| 5 | - * @license MIT <https://opensource.org/licenses/MIT> |
|
| 6 | - * @link http://www.github.com/andela-sakande |
|
| 7 | - * */ |
|
| 3 | + * @package A simple ORM that performs basic CRUD operations |
|
| 4 | + * @author Surajudeen AKANDE <[email protected]> |
|
| 5 | + * @license MIT <https://opensource.org/licenses/MIT> |
|
| 6 | + * @link http://www.github.com/andela-sakande |
|
| 7 | + * */ |
|
| 8 | 8 | namespace Sirolad\Libraries; |
| 9 | 9 | |
| 10 | 10 | use Sirolad\Exception; |
@@ -24,7 +24,7 @@ discard block |
||
| 24 | 24 | |
| 25 | 25 | /** |
| 26 | 26 | * Test that the exact tablename is returned |
| 27 | - **/ |
|
| 27 | + **/ |
|
| 28 | 28 | public function testTableName() |
| 29 | 29 | { |
| 30 | 30 | $potato = new Potato(); |
@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | |
| 34 | 34 | /** |
| 35 | 35 | * Test delete from database |
| 36 | - **/ |
|
| 36 | + **/ |
|
| 37 | 37 | public function testDestroy() |
| 38 | 38 | { |
| 39 | 39 | $mock = Mockery::mock('Sirolad\Test\PotatoStub'); |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | |
| 43 | 43 | /** |
| 44 | 44 | * Test find from database |
| 45 | - **/ |
|
| 45 | + **/ |
|
| 46 | 46 | public function testFind() |
| 47 | 47 | { |
| 48 | 48 | $mock = Mockery::mock('Sirolad\Test\PotatoStub'); |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | |
| 52 | 52 | /** |
| 53 | 53 | * Test that instantiated class are without attributes |
| 54 | - **/ |
|
| 54 | + **/ |
|
| 55 | 55 | public function testNewInstanceCreatesInstanceWithoutAttributes() |
| 56 | 56 | { |
| 57 | 57 | $instance = new PotatoStub(); |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | |
| 64 | 64 | /** |
| 65 | 65 | * Test class can be instantiated |
| 66 | - **/ |
|
| 66 | + **/ |
|
| 67 | 67 | public function save() |
| 68 | 68 | { |
| 69 | 69 | $mock = Mockery::mock('Sirolad\Test\PotatoStub'); |