Completed
Pull Request — master (#25)
by Adeniyi
02:25
created
src/Interface/DatabaseQueryInterface.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Defining Interface for class DatabaseQueryInterface.
4
- *
5
- * @package Ibonly\PotatoORM\DatabaseQueryInterface
6
- * @author  Ibraheem ADENIYI <[email protected]>
7
- * @license MIT <https://opensource.org/licenses/MIT>
8
- */
3
+     * Defining Interface for class DatabaseQueryInterface.
4
+     *
5
+     * @package Ibonly\PotatoORM\DatabaseQueryInterface
6
+     * @author  Ibraheem ADENIYI <[email protected]>
7
+     * @license MIT <https://opensource.org/licenses/MIT>
8
+     */
9 9
 
10 10
 namespace Ibonly\PotatoORM;
11 11
 
Please login to merge, or discard this patch.
src/Interface/GetDataInterface.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,17 +1,17 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Defining Interface for class GetData.
4
- *
5
- * @package Ibonly\PotatoORM\ModelInterface
6
- * @author  Ibraheem ADENIYI <[email protected]>
7
- * @license MIT <https://opensource.org/licenses/MIT>
8
- */
3
+     * Defining Interface for class GetData.
4
+     *
5
+     * @package Ibonly\PotatoORM\ModelInterface
6
+     * @author  Ibraheem ADENIYI <[email protected]>
7
+     * @license MIT <https://opensource.org/licenses/MIT>
8
+     */
9 9
 
10 10
 namespace Ibonly\PotatoORM;
11 11
 
12 12
 interface GetDataInterface
13 13
 {
14
-	public function all();
14
+    public function all();
15 15
 	
16 16
     public function allDESC($limit);
17 17
 
@@ -23,5 +23,5 @@  discard block
 block discarded – undo
23 23
 
24 24
     public function first();
25 25
 
26
-   public function getCount();
26
+    public function getCount();
27 27
 }
Please login to merge, or discard this patch.
src/Helper/Upload.php 1 patch
Braces   +5 added lines, -15 removed lines patch added patch discarded remove patch
@@ -214,25 +214,15 @@
 block discarded – undo
214 214
 
215 215
         if (!$this->ValidateExtension()) {
216 216
             die($this->GetMessage());
217
-        } 
218
-
219
-        else if (!$this->ValidateSize()) {
217
+        } else if (!$this->ValidateSize()) {
220 218
             die($this->GetMessage());
221
-        }
222
-
223
-        else if ($this->ValidateExistance()) {
219
+        } else if ($this->ValidateExistance()) {
224 220
             die($this->GetMessage());
225
-        }
226
-
227
-        else if (!$this->ValidateDirectory()) {
221
+        } else if (!$this->ValidateDirectory()) {
228 222
             die($this->GetMessage());
229
-        }
230
-
231
-        else if ($this->IsImage && !$this->ValidateImage()) {
223
+        } else if ($this->IsImage && !$this->ValidateImage()) {
232 224
             die($this->GetMessage());
233
-        }
234
-
235
-        else {
225
+        } else {
236 226
 
237 227
             $FileName = $this->FileName;
238 228
             $TempFileName = $this->TempFileName;
Please login to merge, or discard this patch.