Browse Source

More return fixes.

euromark 11 years ago
parent
commit
989c5cc5e4
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/Network/Http/FormData.php
  2. 1 1
      src/ORM/EagerLoader.php

+ 1 - 1
src/Network/Http/FormData.php

@@ -110,7 +110,7 @@ class FormData implements \Countable {
  *
  * @param string $name The name to use.
  * @param mixed $value Either a string filename, or a filehandle.
- * @return void
+ * @return \Cake\Network\Http\FormData\Part
  */
 	public function addFile($name, $value) {
 		$filename = false;

+ 1 - 1
src/ORM/EagerLoader.php

@@ -378,7 +378,7 @@ class EagerLoader {
  *
  * @param array &$config The association config
  * @param string $alias the name of the association to evaluate
- * @return void
+ * @return void|array
  * @throws \RuntimeException if a duplicate association in the same chain is detected
  * but is not possible to change the strategy due to conflicting settings
  */