Skip to content

Commit

Permalink
Merge pull request #11 from Softhub99/analysis-8b6Jm2
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
Malik Umer Farooq committed Jul 31, 2018
2 parents f9e067d + f04e638 commit 21507ed
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions App/Models/Post.php
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
<?php

namespace App\Models;
use Softhub99\Zest_Framework\Database\MYSQL as DB;

use Config\Config;
use Softhub99\Zest_Framework\Database\MYSQL as DB;

class Post extends DB
{
/*
* Store database name
*/
protected static $db_name = Config::DB_NAME;
/*
* Store database table name
*/
protected static $db_tbl = 'users';
/*
* Store database name
*/
protected static $db_name = Config::DB_NAME;
/*
* Store database table name
*/
protected static $db_tbl = 'users';

public function name()
{
$db = new DB();
Expand Down

0 comments on commit 21507ed

Please sign in to comment.