Browse Source

More docblock fixes.

ADmad 12 years ago
parent
commit
e9e410f647

+ 0 - 1
src/Console/Command/UpgradeShell.php

@@ -210,7 +210,6 @@ class UpgradeShell extends Shell {
  * Replace all the App::uses() calls with `use`.
  *
  * @param string $file The file to search and replace.
- * @return string|void If there is no `App::uses()` returns void, string otherwise
  */
 	protected function _replaceUses($file) {
 		$pattern = '#App::uses\([\'"]([a-z0-9_]+)[\'"],\s*[\'"]([a-z0-9/_]+)(?:\.([a-z0-9/_]+))?[\'"]\)#i';

+ 5 - 1
src/Database/Dialect/SqliteDialectTrait.php

@@ -24,6 +24,9 @@ use Cake\Database\Expression\TupleComparison;
 use Cake\Database\Query;
 use Cake\Database\SqlDialectTrait;
 
+/**
+ * Sql dialect trait
+ */
 trait SqliteDialectTrait {
 
 	use SqlDialectTrait;
@@ -100,7 +103,8 @@ trait SqliteDialectTrait {
  * Receives a TupleExpression and changes it so that it conforms to this
  * SQL dialect.
  *
- * @param Cake\Database\Expression\TupleComparison
+ * @param Cake\Database\Expression\TupleComparison $expression
+ * @param Cake\Database\Query $query
  * @return void
  */
 	protected function _transformTupleComparison(TupleComparison $expression, $query) {

+ 3 - 0
src/Database/Driver/PDODriverTrait.php

@@ -20,6 +20,9 @@ use Cake\Database\Query;
 use Cake\Database\Statement\PDOStatement;
 use PDO;
 
+/**
+ * PDO driver trait
+ */
 trait PDODriverTrait {
 
 /**

+ 1 - 1
src/Database/Log/LoggingStatement.php

@@ -35,7 +35,7 @@ class LoggingStatement extends StatementDecorator {
 /**
  * Holds bound params
  *
- * @return void
+ * @var array
  */
 	protected $_compiledParams = [];
 

+ 3 - 0
src/Database/SqlDialectTrait.php

@@ -16,6 +16,9 @@
  */
 namespace Cake\Database;
 
+/**
+ * Sql dialect trait
+ */
 trait SqlDialectTrait {
 
 /**

+ 9 - 1
src/Database/Statement/BufferedStatement.php

@@ -24,6 +24,10 @@ namespace Cake\Database\Statement;
  */
 class BufferedStatement extends StatementDecorator {
 
+/**
+ * Records count
+ * @var integer
+ */
 	protected $_count = 0;
 
 /**
@@ -33,13 +37,17 @@ class BufferedStatement extends StatementDecorator {
  */
 	protected $_records = [];
 
- /**
+/**
  * If true, all rows were fetched
  *
  * @var boolean
  */
 	protected $_allFetched = true;
 
+/**
+ * Current record pointer
+ * @var integer
+ */
 	protected $_counter = 0;
 
 /**

+ 3 - 0
src/Database/TypeConverterTrait.php

@@ -16,6 +16,9 @@
  */
 namespace Cake\Database;
 
+/**
+ * Type converter trait
+ */
 trait TypeConverterTrait {
 
 /**

+ 3 - 0
src/Database/ValueBinder.php

@@ -16,6 +16,9 @@
  */
 namespace Cake\Database;
 
+/**
+ * Value binder class manages list of values bound to conditions.
+ */
 class ValueBinder {
 
 /**

+ 1 - 1
src/Network/Request.php

@@ -1,6 +1,6 @@
 <?php
 /**
- * CakeRequest
+ * Request
  *
  * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
  * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)