Completed
Push — master ( c2090f...1b3be6 )
by Adeola
02:11
created
src/Database/DataBaseQuery.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -44,9 +44,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
      */
Please login to merge, or discard this patch.
src/Model/DataBaseModel.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
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
 {
Please login to merge, or discard this patch.