mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 04:45:20 +01:00
24 lines
259 B
PHP
24 lines
259 B
PHP
<?php
|
|
namespace Vimeo\Test\DummyProject;
|
|
|
|
class Bar
|
|
{
|
|
use SomeTrait;
|
|
|
|
/** @var string */
|
|
public $x;
|
|
|
|
public function __construct()
|
|
{
|
|
$this->x = 'hello';
|
|
}
|
|
}
|
|
|
|
/**
|
|
* @return void
|
|
*/
|
|
function someFunction()
|
|
{
|
|
echo 'here';
|
|
}
|