summaryrefslogtreecommitdiff
path: root/app/Filter/BaseFilter.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-06-24 08:50:57 -0400
committerFrederic Guillot <fred@kanboard.net>2016-06-24 08:50:57 -0400
commit9e278a9370e3b651a4a545c0c0c0c256088ed187 (patch)
tree2738835d2410d183a02f29cf80f96215371cfd11 /app/Filter/BaseFilter.php
parentd560f84b374fa1b3345dc582eddd6bb7b9138674 (diff)
Use BoardFormatter to generate the board
Diffstat (limited to 'app/Filter/BaseFilter.php')
-rw-r--r--app/Filter/BaseFilter.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/Filter/BaseFilter.php b/app/Filter/BaseFilter.php
index 79a664be..e029f4e1 100644
--- a/app/Filter/BaseFilter.php
+++ b/app/Filter/BaseFilter.php
@@ -43,8 +43,7 @@ abstract class BaseFilter
*/
public static function getInstance($value = null)
{
- $self = new static($value);
- return $self;
+ return new static($value);
}
/**