@@ -44,9 +44,9 @@ discard block |
||
44 | 44 | * This method create or insert new users to the table. |
45 | 45 | * |
46 | 46 | * @param $associativeArray |
47 | - * @param $tableName |
|
47 | + * @param string $tableName |
|
48 | 48 | * |
49 | - * @return array |
|
49 | + * @return integer |
|
50 | 50 | */ |
51 | 51 | public function create($associativeArrayToCreate, $tableName) |
52 | 52 | { |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | * This method read the data in the table name of the id being passed to it. |
78 | 78 | * |
79 | 79 | * @param $id |
80 | - * @param $tableName |
|
80 | + * @param string $tableName |
|
81 | 81 | * |
82 | 82 | * @return array |
83 | 83 | */ |
@@ -105,9 +105,9 @@ discard block |
||
105 | 105 | * |
106 | 106 | * @param $update Params |
107 | 107 | * @param $associativeArrayToUpdate |
108 | - * @param $tableName |
|
108 | + * @param string $tableName |
|
109 | 109 | * |
110 | - * @return bool |
|
110 | + * @return integer |
|
111 | 111 | */ |
112 | 112 | public function update($updateParams, $associativeArrayToUpdate, $tableName) |
113 | 113 | { |
@@ -140,7 +140,7 @@ discard block |
||
140 | 140 | * This method delete the table name of the id passed to it. |
141 | 141 | * |
142 | 142 | * @param $id |
143 | - * @param $tableName |
|
143 | + * @param string $tableName |
|
144 | 144 | * |
145 | 145 | * @return bool |
146 | 146 | */ |
@@ -13,7 +13,6 @@ |
||
13 | 13 | namespace Demo; |
14 | 14 | |
15 | 15 | use Doctrine\Common\Inflector\Inflector; |
16 | -use Demo\DataBaseConnection; |
|
17 | 16 | |
18 | 17 | abstract class DataBaseModel implements DataBaseModelInterface |
19 | 18 | { |