1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-12 09:19:40 +01:00
psalm/src/CodeInspector/Config.php

30 lines
430 B
PHP
Raw Normal View History

2016-06-06 07:07:50 +02:00
<?php
namespace CodeInspector;
class Config
{
private static $_config;
public $stopOnError;
private function __construct()
{
self::$_config = $this;
}
public static function getInstance()
{
if (self::$_config) {
return self::$_config;
}
return new self();
}
public function doesInheritVariables($file_name)
{
return false;
}
}