Completed
Branch 1.2 (459185)
by David
04:06
created
lib/Dwoo/Adapters/CodeIgniter/libraries/Dwootemplate.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
      *
90 90
      * @param string $sTemplate
91 91
      * @param boolean $return
92
-     * @return mixed
92
+     * @return null|string
93 93
      */
94 94
     public function display($sTemplate, $return = FALSE) {
95 95
         // Start benchmark
Please login to merge, or discard this patch.
lib/Dwoo/Adapters/ZendFramework/PluginProxy.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
 	/**
29 29
 	 * Dwoo_Adapters_ZendFramework_PluginProxy's constructor.
30 30
 	 *
31
-	 * @param Zend_View_Interface $view
31
+	 * @param Dwoo_Adapters_ZendFramework_View $view
32 32
 	 */
33 33
 	public function __construct(Zend_View_Interface $view) {
34 34
 		$this->view = $view;
Please login to merge, or discard this patch.
lib/Dwoo/Data.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,6 @@
 block discarded – undo
66 66
 	 * merges the given array(s) with the current data with array_merge
67 67
 	 *
68 68
 	 * @param array $data the array to merge
69
-	 * @param array $data2 $data3 ... other arrays to merge, optional, etc.
70 69
 	 */
71 70
 	public function mergeData(array $data)
72 71
 	{
Please login to merge, or discard this patch.
lib/Dwoo/ICompiler.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
 	/**
25 25
 	 * compiles the provided string down to php code
26 26
 	 *
27
-	 * @param string $templateStr the template to compile
27
+	 * @param string $template the template to compile
28 28
 	 * @return string a compiled php code string
29 29
 	 */
30 30
 	public function compile(Dwoo_Core $dwoo, Dwoo_ITemplate $template);
@@ -34,6 +34,7 @@  discard block
 block discarded – undo
34 34
 	 *
35 35
 	 * @see Dwoo_Core::addPlugin
36 36
 	 * @param array $customPlugins an array of custom plugins
37
+	 * @return void
37 38
 	 */
38 39
 	public function setCustomPlugins(array $customPlugins);
39 40
 
@@ -44,6 +45,7 @@  discard block
 block discarded – undo
44 45
 	 * set it on the Dwoo object as it will be passed onto the compiler automatically
45 46
 	 *
46 47
 	 * @param Dwoo_Security_Policy $policy the security policy object
48
+	 * @return void
47 49
 	 */
48 50
 	public function setSecurityPolicy(Dwoo_Security_Policy $policy = null);
49 51
 }
Please login to merge, or discard this patch.
lib/Dwoo/Loader.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -42,6 +42,9 @@
 block discarded – undo
42 42
 
43 43
 	protected $corePluginDir;
44 44
 
45
+	/**
46
+	 * @param string $cacheDir
47
+	 */
45 48
 	public function __construct($cacheDir)
46 49
 	{
47 50
 		$this->corePluginDir = DWOO_DIRECTORY . 'plugins';
Please login to merge, or discard this patch.
lib/Dwoo/Template/String.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -278,7 +278,7 @@
 block discarded – undo
278 278
 	 *
279 279
 	 * @param Dwoo_Core $dwoo the dwoo instance that requests it
280 280
 	 * @param string $output the template output
281
-	 * @return mixed full path of the cached file or false upon failure
281
+	 * @return false|string full path of the cached file or false upon failure
282 282
 	 */
283 283
 	public function cache(Dwoo_Core $dwoo, $output)
284 284
 	{
Please login to merge, or discard this patch.
lib/plugins/builtin/blocks/dynamic.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -53,6 +53,10 @@
 block discarded – undo
53 53
 		return $output;
54 54
 	}
55 55
 
56
+	/**
57
+	 * @param string $dynamicId
58
+	 * @param string $compiledFile
59
+	 */
56 60
 	public static function unescape($output, $dynamicId, $compiledFile)
57 61
 	{
58 62
 		$output = preg_replace_callback('/<dwoo:dynamic_('.$dynamicId.')>(.+?)<\/dwoo:dynamic_'.$dynamicId.'>/s', array('self', 'unescapePhp'), $output, -1, $count);
Please login to merge, or discard this patch.
lib/Dwoo/Adapters/ZendFramework/View.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -87,7 +87,6 @@  discard block
 block discarded – undo
87 87
 	 *  - type class name or object for engine, dataProvider or compiler
88 88
 	 *  - any set* method (compileDir for setCompileDir ...)
89 89
 	 *
90
-	 * @param  array $options
91 90
 	 * @return Dwoo_Adapters_ZendFramework_View
92 91
 	 */
93 92
 	public function setOptions(array $opt = array())
@@ -272,6 +271,7 @@  discard block
 block discarded – undo
272 271
 	 * Sets Dwoo data object
273 272
 	 *
274 273
 	 * @param string|Dwoo_Data Object or name of the class
274
+	 * @param Dwoo_Data $data
275 275
 	 */
276 276
 	public function setDataProvider($data)
277 277
 	{
@@ -430,7 +430,6 @@  discard block
 block discarded – undo
430 430
 	 * Processes a view script and outputs it. Output is then
431 431
 	 * passed through filters.
432 432
 	 *
433
-	 * @param string $name The script script name to process.
434 433
 	 * @return string The script output.
435 434
 	 */
436 435
 	public function _run()
Please login to merge, or discard this patch.
lib/Dwoo/Compiler.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -272,7 +272,7 @@  discard block
 block discarded – undo
272 272
 	/**
273 273
 	 * returns the left and right template delimiters
274 274
 	 *
275
-	 * @return array containing the left and the right delimiters
275
+	 * @return string[] containing the left and the right delimiters
276 276
 	 */
277 277
 	public function getDelimiters()
278 278
 	{
@@ -360,7 +360,7 @@  discard block
 block discarded – undo
360 360
 	 * adds a preprocessor to the compiler, it will be called
361 361
 	 * before the template is compiled
362 362
 	 *
363
-	 * @param mixed $callback either a valid callback to the preprocessor or a simple name if the autoload is set to true
363
+	 * @param string $callback either a valid callback to the preprocessor or a simple name if the autoload is set to true
364 364
 	 * @param bool $autoload if set to true, the preprocessor is auto-loaded from one of the plugin directories, else you must provide a valid callback
365 365
 	 */
366 366
 	public function addPreProcessor($callback, $autoload = false)
@@ -1230,7 +1230,7 @@  discard block
 block discarded – undo
1230 1230
 	 * returns the token of each parameter out of the given parameter array
1231 1231
 	 *
1232 1232
 	 * @param array $params parameter array
1233
-	 * @return array tokens
1233
+	 * @return Dwoo_Compiler tokens
1234 1234
 	 */
1235 1235
 	public function getParamTokens(array $params)
1236 1236
 	{
Please login to merge, or discard this patch.