Author: Tobias Schlitt
Date: 2006-01-17 14:31:07 +0100 (Tue, 17 Jan 2006)
New Revision: 1946
Log:
- Fix object() in docs.
Modified:
packages/ConsoleTools/trunk/src/input.php
packages/ConsoleTools/trunk/src/input/option.php
packages/ConsoleTools/trunk/src/output.php
packages/ConsoleTools/trunk/src/table.php
packages/ConsoleTools/trunk/src/table/row.php
Modified: packages/ConsoleTools/trunk/src/input/option.php
===================================================================
--- packages/ConsoleTools/trunk/src/input/option.php 2006-01-17 13:20:08 UTC
(rev 1945)
+++ packages/ConsoleTools/trunk/src/input/option.php 2006-01-17 13:31:07 UTC
(rev 1946)
@@ -304,9 +304,9 @@
* For example:
* <code>
* array(
- * 0 => object(ezcConsoleOptionRule),
- * 1 => object(ezcConsoleOptionRule),
- * 2 => object(ezcConsoleOptionRule),
+ * 0 => ezcConsoleOptionRule,
+ * 1 => ezcConsoleOptionRule,
+ * 2 => ezcConsoleOptionRule,
* );
* </code>
*
@@ -414,9 +414,9 @@
* For example:
* <code>
* array(
- * 0 => object(ezcConsoleOptionRule),
- * 1 => object(ezcConsoleOptionRule),
- * 2 => object(ezcConsoleOptionRule),
+ * 0 => ezcConsoleOptionRule,
+ * 1 => ezcConsoleOptionRule,
+ * 2 => ezcConsoleOptionRule,
* );
* </code>
*
Modified: packages/ConsoleTools/trunk/src/input.php
===================================================================
--- packages/ConsoleTools/trunk/src/input.php 2006-01-17 13:20:08 UTC (rev
1945)
+++ packages/ConsoleTools/trunk/src/input.php 2006-01-17 13:31:07 UTC (rev
1946)
@@ -498,9 +498,9 @@
* Returns an array of all registered options in the following format:
* <code>
* array(
- * 0 => object(ezcConsoleOption),
- * 1 => object(ezcConsoleOption),
- * 2 => object(ezcConsoleOption),
+ * 0 => ezcConsoleOption,
+ * 1 => ezcConsoleOption,
+ * 2 => ezcConsoleOption,
* ...
* );
* </code>
Modified: packages/ConsoleTools/trunk/src/output.php
===================================================================
--- packages/ConsoleTools/trunk/src/output.php 2006-01-17 13:20:08 UTC (rev
1945)
+++ packages/ConsoleTools/trunk/src/output.php 2006-01-17 13:31:07 UTC (rev
1946)
@@ -69,14 +69,14 @@
/**
* Options
*
- * @var object(ezcConsoleOutputOptions)
+ * @var ezcConsoleOutputOptions
*/
protected $options;
/**
* Formats
*
- * @var object(ezcConsoleOutputFormats)
+ * @var ezcConsoleOutputFormats
*/
protected $formats;
Modified: packages/ConsoleTools/trunk/src/table/row.php
===================================================================
--- packages/ConsoleTools/trunk/src/table/row.php 2006-01-17 13:20:08 UTC
(rev 1945)
+++ packages/ConsoleTools/trunk/src/table/row.php 2006-01-17 13:31:07 UTC
(rev 1946)
@@ -132,7 +132,7 @@
* since it creates them on the fly, if a given item does not exist.
*
* @param int $offset The offset to check.
- * @return object(ezcConsoleTableCell)
+ * @return ezcConsoleTableCell
*
* @throws ezcBaseValueException
* If a non numeric cell ID is requested.
@@ -160,8 +160,8 @@
* This method is part of the ArrayAccess interface to allow access to the
* data of this object as if it was an array.
*
- * @param int $offset The offset to assign an item to.
- * @param object(ezcConsoleTableCell) The item to assign.
+ * @param int $offset The offset to assign an item to.
+ * @param ezcConsoleTableCell The cell to assign.
* @return void
*
* @throws ezcBaseValueException
@@ -228,7 +228,7 @@
* cells of this row by iterating over it like an array (e.g. using
* foreach).
*
- * @return object(ezcConsoleTableCell) The currently selected cell.
+ * @return ezcConsoleTableCell The currently selected cell.
*/
public function current()
{
Modified: packages/ConsoleTools/trunk/src/table.php
===================================================================
--- packages/ConsoleTools/trunk/src/table.php 2006-01-17 13:20:08 UTC (rev
1945)
+++ packages/ConsoleTools/trunk/src/table.php 2006-01-17 13:31:07 UTC (rev
1946)
@@ -226,7 +226,7 @@
* since it creates them on the fly, if a given item does not exist.
*
* @param int $offset The offset to check.
- * @return object(ezcConsoleTableCell)
+ * @return ezcConsoleTableCell
*
* @throws ezcBaseValueException
* If a non numeric row ID is requested.
@@ -254,8 +254,8 @@
* This method is part of the ArrayAccess interface to allow access to the
* data of this object as if it was an array.
*
- * @param int $offset The offset to assign an item to.
- * @param object(ezcConsoleTableCell) The item to assign.
+ * @param int $offset The offset to assign an item to.
+ * @param ezcConsoleTableCell The row to assign.
* @return void
*
* @throws ezcBaseValueException
@@ -322,7 +322,7 @@
* cells of this row by iterating over it like an array (e.g. using
* foreach).
*
- * @return object(ezcConsoleTableCell) The currently selected cell.
+ * @return ezcConsoleTableCell The currently selected cell.
*/
public function current()
{
--
svn-components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/svn-components