Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

phpdoc fixes, mostly project @link corrections and some whitespace

fixes
  • Loading branch information...
commit 6415e6a7223d839b7d3bd0180360a655424feb7d 1 parent 53459da
@saltybeagle saltybeagle authored
View
4 src/PEAR2/Templates/Savant/ClassToTemplateMapper.php
@@ -10,7 +10,7 @@
* @copyright 2009 Brett Bieber
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
* @version SVN: $Id$
- * @link http://svn.php.net/repository/pear2/PEAR2_Templates_Savant
+ * @link https://github.com/pear2/PEAR2_Templates_Savant
*/
/**
@@ -24,7 +24,7 @@
* @author Brett Bieber <saltybeagle@php.net>
* @copyright 2009 Brett Bieber
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
- * @link http://svn.php.net/repository/pear2/PEAR2_Templates_Savant
+ * @link https://github.com/pear2/PEAR2_Templates_Savant
*/
namespace PEAR2\Templates\Savant;
class ClassToTemplateMapper implements MapperInterface
View
12 src/PEAR2/Templates/Savant/Main.php
@@ -10,7 +10,7 @@
* @copyright 2009 Brett Bieber
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
* @version SVN: $Id$
- * @link http://svn.php.net/repository/pear2/PEAR2_Templates_Savant
+ * @link https://github.com/pear2/PEAR2_Templates_Savant
*/
/**
@@ -21,7 +21,7 @@
* @author Brett Bieber <saltybeagle@php.net>
* @copyright 2009 Brett Bieber
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
- * @link http://svn.php.net/repository/pear2/PEAR2_Templates_Savant
+ * @link https://github.com/pear2/PEAR2_Templates_Savant
*/
namespace PEAR2\Templates\Savant;
class Main
@@ -272,7 +272,7 @@ function getTemplate()
/**
*
- * Returns a copy of the Savant3 configuration parameters.
+ * Returns a copy of the Savant configuration parameters.
*
* @access public
*
@@ -302,7 +302,7 @@ public function getConfig($key = null)
*
* Sets a custom compiler/pre-processor callback for template sources.
*
- * By default, Savant3 does not use a compiler; use this to set your
+ * By default, Savant does not use a compiler; use this to set your
* own custom compiler (pre-processor) for template sources.
*
* @access public
@@ -506,7 +506,7 @@ public function addTemplatePath($path)
$path = explode(PATH_SEPARATOR, $path);
// typically in path strings, the first one is expected
- // to be searched first. however, Savant3 uses a stack,
+ // to be searched first. however, Savant uses a stack,
// so the first would be last. reverse the path string
// so that it behaves as expected with path strings.
$path = array_reverse($path);
@@ -762,7 +762,6 @@ protected function renderObject($object, $template = null)
if ($object instanceof ObjectProxy\ArrayIterator) {
return $this->renderArrayAccess($object);
}
-
}
return $this->fetch($object, $template);
}
@@ -927,7 +926,6 @@ public function applyFilters($buffer)
foreach ($this->__config['filters'] as $callback) {
$buffer = call_user_func($callback, $buffer);
}
-
return $buffer;
}
View
4 src/PEAR2/Templates/Savant/ObjectProxy.php
@@ -10,7 +10,7 @@
* @copyright 2009 Brett Bieber
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
* @version SVN: $Id$
- * @link http://svn.php.net/repository/pear2/PEAR2_Templates_Savant
+ * @link https://github.com/pear2/PEAR2_Templates_Savant
*/
/**
@@ -25,7 +25,7 @@
* @author Brett Bieber <saltybeagle@php.net>
* @copyright 2009 Brett Bieber
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
- * @link http://svn.php.net/repository/pear2/PEAR2_Templates_Savant
+ * @link https://github.com/pear2/PEAR2_Templates_Savant
*/
namespace PEAR2\Templates\Savant;
class ObjectProxy implements \Countable
View
4 src/PEAR2/Templates/Savant/ObjectProxy/ArrayObject.php
@@ -12,7 +12,7 @@
* @copyright 2009 Brett Bieber, 2011 Michael Gauthier
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
* @version SVN: $Id$
- * @link http://svn.php.net/repository/pear2/PEAR2_Templates_Savant
+ * @link https://github.com/pear2/PEAR2_Templates_Savant
*/
/**
@@ -26,7 +26,7 @@
* @author Michael Gauthier <mike@silverorange.com>
* @copyright 2009 Brett Bieber, 2011 Michael Gauthier
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
- * @link http://svn.php.net/repository/pear2/PEAR2_Templates_Savant
+ * @link https://github.com/pear2/PEAR2_Templates_Savant
*/
namespace PEAR2\Templates\Savant\ObjectProxy;
use PEAR2\Templates\Savant\ObjectProxy;
Please sign in to comment.
Something went wrong with that request. Please try again.