From d059f904aaacf9cf7486c7f8d8443aa07f084709 Mon Sep 17 00:00:00 2001 From: Mohamed Said Date: Tue, 19 Jul 2016 16:27:42 +0300 Subject: [PATCH] Remove un-needed method overwrites (#14372) --- .../Query/Grammars/PostgresGrammar.php | 36 ------------------- 1 file changed, 36 deletions(-) diff --git a/src/Illuminate/Database/Query/Grammars/PostgresGrammar.php b/src/Illuminate/Database/Query/Grammars/PostgresGrammar.php index d1b69d4cd838..7f43d99f22b9 100755 --- a/src/Illuminate/Database/Query/Grammars/PostgresGrammar.php +++ b/src/Illuminate/Database/Query/Grammars/PostgresGrammar.php @@ -49,42 +49,6 @@ protected function whereDate(Builder $query, $where) return $this->wrap($where['column']).'::date '.$where['operator'].' '.$value; } - /** - * Compile a "where day" clause. - * - * @param \Illuminate\Database\Query\Builder $query - * @param array $where - * @return string - */ - protected function whereDay(Builder $query, $where) - { - return $this->dateBasedWhere('day', $query, $where); - } - - /** - * Compile a "where month" clause. - * - * @param \Illuminate\Database\Query\Builder $query - * @param array $where - * @return string - */ - protected function whereMonth(Builder $query, $where) - { - return $this->dateBasedWhere('month', $query, $where); - } - - /** - * Compile a "where year" clause. - * - * @param \Illuminate\Database\Query\Builder $query - * @param array $where - * @return string - */ - protected function whereYear(Builder $query, $where) - { - return $this->dateBasedWhere('year', $query, $where); - } - /** * Compile a date based where clause. *