Completed
Pull Request — master (#8)
by Adeola
03:06
created
src/Database/DataBaseQuery.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
      * This method create or insert new users to the table.
41 41
      *
42 42
      * @param $associativeArray
43
-     * @param $tableName
43
+     * @param string $tableName
44 44
      *
45 45
      * @return array
46 46
      */
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
      * This method read the data in the table name of the id being passed to it.
75 75
      *
76 76
      * @param $id
77
-     * @param $tableName
77
+     * @param string $tableName
78 78
      *
79 79
      * @return array
80 80
      */
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
      *
107 107
      * @param $update Params
108 108
      * @param $associativeArray
109
-     * @param $tableName
109
+     * @param string $tableName
110 110
      *
111 111
      * @return bool
112 112
      */
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
      * This method delete the table name of the id passed to it.
146 146
      *
147 147
      * @param $id
148
-     * @param $tableName
148
+     * @param string $tableName
149 149
      *
150 150
      * @return bool
151 151
      */
Please login to merge, or discard this patch.
src/Model/DataBaseModel.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
      * @throws ArgumentNumberIncorrectException
121 121
      * @throws ArgumentNotFoundException
122 122
      *
123
-     * @return object
123
+     * @return DataBaseModel
124 124
      */
125 125
     public static function findById($id)
126 126
     {
@@ -209,7 +209,7 @@  discard block
 block discarded – undo
209 209
      *
210 210
      * @param $arrayOfRecord
211 211
      *
212
-     * @return bool true
212
+     * @return boolean|null true
213 213
      */
214 214
     public function checkIfRecordExist($arrayOfRecord)
215 215
     {
Please login to merge, or discard this patch.