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

28 lines
391 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
*
*/
public function foo($a, $b): string
2019-03-23 19:27:54 +01:00
{
}
/**
* @param int $a
* @param string $b
2019-03-23 19:27:54 +01:00
*
*/
public static function bar($a, $b): string
2019-03-23 19:27:54 +01:00
{
}
}