1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-11 16:59:45 +01:00
psalm/tests/fixtures/stubs/systemclass.php

30 lines
419 B
PHP
Raw Normal View History

<?php
const ROOT_CONST_CONSTANT = 5;
define('ROOT_DEFINE_CONSTANT', 10);
2019-03-23 19:27:54 +01:00
class SystemClass
{
const HELLO = 'hello';
/**
* @param int $a
* @param string $b
2019-03-23 19:27:54 +01:00
*
* @return string
*/
2019-03-23 19:27:54 +01:00
public function foo($a, $b)
{
}
/**
* @param int $a
* @param string $b
2019-03-23 19:27:54 +01:00
*
* @return string
*/
2019-03-23 19:27:54 +01:00
public static function bar($a, $b)
{
}
}