mirror of
https://github.com/danog/psalm.git
synced 2024-12-05 13:10:49 +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';
|
|
}
|