Skip to content

Instantly share code, notes, and snippets.

@falsecz
Created January 10, 2012 02:05
Show Gist options
  • Save falsecz/1586370 to your computer and use it in GitHub Desktop.
Save falsecz/1586370 to your computer and use it in GitHub Desktop.
<?php
/**
* @method string metoda($param) Komentar
*/
class A { }
namespace NS;
/**
* @method string metoda($param) Komentar
*/
class B { }
$a = new \A();
$b = new \NS\B();
$a->metoda($param); // naseptava s dokumentaci
$b->metoda($param); // naseptava, ale PHPDoc not found !
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment