Переглянути джерело

merged branch hhamon/template_loader_phpdoc (PR #4377)

Commits
-------

03183b5 [Templating] added missing @return PHPDoc for LoaderInterface::isFresh method.

Discussion
----------

Template loader phpdoc

Bug fix: no
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: ~
Todo: -
License of the code: MIT
Documentation PR: ~

---------------------------------------------------------------------------

by travisbot at 2012-05-22T17:39:15Z

This pull request [passes](http://travis-ci.org/symfony/symfony/builds/1402200) (merged 03183b5b into 55faa546).
Fabien Potencier 13 роки тому
батько
коміт
e51da8e13a

+ 2 - 0
src/Symfony/Component/Templating/Loader/LoaderInterface.php

@@ -39,6 +39,8 @@ interface LoaderInterface
      * @param TemplateReferenceInterface $template A template
      * @param integer                    $time     The last modification time of the cached template (timestamp)
      *
+     * @return Boolean
+     *
      * @api
      */
     function isFresh(TemplateReferenceInterface $template, $time);