@@ -39,7 +39,7 @@ |
||
| 39 | 39 | /** |
| 40 | 40 | * Returns a new instance of the requested builder object |
| 41 | 41 | * |
| 42 | - * @return EmmetBlue\Core\Database\Builder\BuildableInterface |
|
| 42 | + * @return BuildableInterface |
|
| 43 | 43 | */ |
| 44 | 44 | public function getBuilder() : BuildableInterface |
| 45 | 45 | { |
@@ -23,7 +23,6 @@ discard block |
||
| 23 | 23 | protected $queryBuilder; |
| 24 | 24 | |
| 25 | 25 | /** |
| 26 | - * @param string|null $tableName |
|
| 27 | 26 | */ |
| 28 | 27 | public function __construct() |
| 29 | 28 | { |
@@ -36,7 +35,7 @@ discard block |
||
| 36 | 35 | * |
| 37 | 36 | * @param string $tableName |
| 38 | 37 | * |
| 39 | - * @return \EmmetBlue\Core\Builder\DeleteQueryBuilder |
|
| 38 | + * @return DeleteQueryBuilder |
|
| 40 | 39 | */ |
| 41 | 40 | public function from(string $tableName) |
| 42 | 41 | { |
@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | * @param string[] $tableColumns Optional, provide this to specify the |
| 39 | 39 | * columns that should be acted on |
| 40 | 40 | * |
| 41 | - * @return \EmmetBlue\Core\Abstraction\InsertQueryBuilder |
|
| 41 | + * @return InsertQueryBuilder |
|
| 42 | 42 | */ |
| 43 | 43 | public function into(string $tableName, array $tableColumns = []) |
| 44 | 44 | { |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | * |
| 59 | 59 | * @param string[] $inputValues |
| 60 | 60 | * |
| 61 | - * @return \EmmetBlue\Core\Abstraction\InsertQueryBuilder |
|
| 61 | + * @return InsertQueryBuilder |
|
| 62 | 62 | */ |
| 63 | 63 | public function values(array $inputValues) |
| 64 | 64 | { |
@@ -107,7 +107,7 @@ |
||
| 107 | 107 | /** |
| 108 | 108 | * Implodes an array into a string while keeping track of the keys. |
| 109 | 109 | * |
| 110 | - * @param array $arrayToImplode |
|
| 110 | + * @param string[] $arrayToImplode |
|
| 111 | 111 | * @param string $delimiter Optional. |
| 112 | 112 | * |
| 113 | 113 | * @return string |
@@ -23,7 +23,6 @@ discard block |
||
| 23 | 23 | protected $queryBuilder; |
| 24 | 24 | |
| 25 | 25 | /** |
| 26 | - * @param string|null $tableName |
|
| 27 | 26 | */ |
| 28 | 27 | public function __construct() |
| 29 | 28 | { |
@@ -36,7 +35,7 @@ discard block |
||
| 36 | 35 | * |
| 37 | 36 | * @param int $topValue |
| 38 | 37 | * |
| 39 | - * @return \EmmetBlue\Core\Builder\SelectQueryBuilder |
|
| 38 | + * @return SelectQueryBuilder |
|
| 40 | 39 | */ |
| 41 | 40 | public function top(int $topValue) |
| 42 | 41 | { |
@@ -48,9 +47,9 @@ discard block |
||
| 48 | 47 | /** |
| 49 | 48 | * {@inheritdoc} |
| 50 | 49 | * |
| 51 | - * @param string $columns |
|
| 50 | + * @param string[] $columns |
|
| 52 | 51 | * |
| 53 | - * @return \EmmetBlue\Core\Builder\SelectQueryBuilder |
|
| 52 | + * @return SelectQueryBuilder |
|
| 54 | 53 | */ |
| 55 | 54 | public function columns(string ...$columns) |
| 56 | 55 | { |
@@ -64,7 +63,7 @@ discard block |
||
| 64 | 63 | * |
| 65 | 64 | * @param string $tableName |
| 66 | 65 | * |
| 67 | - * @return \EmmetBlue\Core\Builder\SelectQueryBuilder |
|
| 66 | + * @return SelectQueryBuilder |
|
| 68 | 67 | */ |
| 69 | 68 | public function from(string $tableName) |
| 70 | 69 | { |
@@ -79,7 +78,7 @@ discard block |
||
| 79 | 78 | * @param string $tableName |
| 80 | 79 | * @param string $condition |
| 81 | 80 | * |
| 82 | - * @return \EmmetBlue\Core\Builder\SelectQueryBuilder |
|
| 81 | + * @return SelectQueryBuilder |
|
| 83 | 82 | */ |
| 84 | 83 | public function innerJoin(string $tableName, string $condition) |
| 85 | 84 | { |
@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | * |
| 37 | 37 | * @param string $tableName |
| 38 | 38 | * |
| 39 | - * @return \EmmetBlue\Core\Builder\UpdateQueryBuilder |
|
| 39 | + * @return UpdateQueryBuilder |
|
| 40 | 40 | */ |
| 41 | 41 | public function table(string $tableName) |
| 42 | 42 | { |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | * |
| 51 | 51 | * @param string[] $inputValues |
| 52 | 52 | * |
| 53 | - * @return \EmmetBlue\Core\Builder\UpdateQueryBuilder |
|
| 53 | + * @return UpdateQueryBuilder |
|
| 54 | 54 | */ |
| 55 | 55 | public function set(array $inputValues) |
| 56 | 56 | { |
@@ -37,6 +37,8 @@ |
||
| 37 | 37 | |
| 38 | 38 | /** |
| 39 | 39 | * |
| 40 | + * @param string $key |
|
| 41 | + * @return string |
|
| 40 | 42 | */ |
| 41 | 43 | public static function get($key) |
| 42 | 44 | { |
@@ -11,7 +11,6 @@ |
||
| 11 | 11 | use EmmetBlue\Core\Builder\BuilderFactory as Builder; |
| 12 | 12 | use EmmetBlue\Core\Factory\DatabaseConnectionFactory as DBConnectionFactory; |
| 13 | 13 | use EmmetBlue\Core\Builder\QueryBuilder\QueryBuilder as QB; |
| 14 | -use EmmetBlue\Core\Exception\SQLException; |
|
| 15 | 14 | |
| 16 | 15 | /** |
| 17 | 16 | * Class ErrorLog |