1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 13:51:54 +01:00
psalm/src/CodeInspector/Config.php

30 lines
430 B
PHP
Raw Normal View History

2016-06-06 01:07:50 -04: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;
}
}