Skip to content

Commit

Permalink
added some missing API docs and fixed some typos
Browse files Browse the repository at this point in the history
  • Loading branch information
philiplb committed Aug 30, 2016
1 parent 82e19aa commit e35ac6c
Show file tree
Hide file tree
Showing 133 changed files with 1,696 additions and 1,789 deletions.
6 changes: 3 additions & 3 deletions docs/api/RulesBuilder.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
------------
RulesBuilder
------------
-------------------
Valdi\\RulesBuilder
-------------------

.. php:namespace: Valdi
Expand Down
6 changes: 3 additions & 3 deletions docs/api/ValidationException.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-------------------
ValidationException
-------------------
--------------------------
Valdi\\ValidationException
--------------------------

.. php:namespace: Valdi
Expand Down
6 changes: 3 additions & 3 deletions docs/api/Validator.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---------
Validator
---------
----------------
Valdi\\Validator
----------------

.. php:namespace: Valdi
Expand Down
8 changes: 4 additions & 4 deletions docs/api/Validator/AbstractComparator.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-----------------------------
Validator\\AbstractComparator
-----------------------------
------------------------------------
Valdi\\Validator\\AbstractComparator
------------------------------------

.. toctree::

Expand Down Expand Up @@ -61,7 +61,7 @@ Validator\\AbstractComparator

.. php:method:: validateParameterCount($name, $parameterAmount, $parameters)
Throws an exception if the parameters don't fullfill the expected
Throws an exception if the parameters don't fulfill the expected
parameter count.

:type $name: string
Expand Down
10 changes: 5 additions & 5 deletions docs/api/Validator/AbstractDateTimeComparator.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-------------------------------------
Validator\\AbstractDateTimeComparator
-------------------------------------
--------------------------------------------
Valdi\\Validator\\AbstractDateTimeComparator
--------------------------------------------

.. toctree::

Expand Down Expand Up @@ -64,7 +64,7 @@ Validator\\AbstractDateTimeComparator
Interprets the given parameters as date times and returns them.

:type $parameters: array
:param $parameters: the paramters
:param $parameters: the parameters
:type $format: string
:param $format: the date time format
:returns: \DateTime[] the date times
Expand All @@ -82,7 +82,7 @@ Validator\\AbstractDateTimeComparator

.. php:method:: validateParameterCount($name, $parameterAmount, $parameters)
Throws an exception if the parameters don't fullfill the expected
Throws an exception if the parameters don't fulfill the expected
parameter count.

:type $name: string
Expand Down
12 changes: 9 additions & 3 deletions docs/api/Validator/AbstractFilter.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-------------------------
Validator\\AbstractFilter
-------------------------
--------------------------------
Valdi\\Validator\\AbstractFilter
--------------------------------

.. toctree::

Expand Down Expand Up @@ -38,3 +38,9 @@ Validator\\AbstractFilter

:param $value:
:param $parameters:

.. php:method:: getInvalidDetails()
Gets the details if the validation failed.

:returns: mixed the details
14 changes: 10 additions & 4 deletions docs/api/Validator/AbstractParametrizedValidator.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
----------------------------------------
Validator\\AbstractParametrizedValidator
----------------------------------------
-----------------------------------------------
Valdi\\Validator\\AbstractParametrizedValidator
-----------------------------------------------

.. toctree::

Expand All @@ -15,7 +15,7 @@ Validator\\AbstractParametrizedValidator

.. php:method:: validateParameterCount($name, $parameterAmount, $parameters)
Throws an exception if the parameters don't fullfill the expected
Throws an exception if the parameters don't fulfill the expected
parameter count.

:type $name: string
Expand All @@ -34,3 +34,9 @@ Validator\\AbstractParametrizedValidator
:type $parameters: array
:param $parameters: the other parameters the validator might need
:returns: boolean true if the value is valid, false else

.. php:method:: getInvalidDetails()
Gets the details if the validation failed.

:returns: mixed the details
10 changes: 5 additions & 5 deletions docs/api/Validator/AfterDateTime.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
------------------------
Validator\\AfterDateTime
------------------------
-------------------------------
Valdi\\Validator\\AfterDateTime
-------------------------------

.. php:namespace: Valdi\\Validator
Expand Down Expand Up @@ -51,7 +51,7 @@ Validator\\AfterDateTime
Interprets the given parameters as date times and returns them.

:type $parameters: array
:param $parameters: the paramters
:param $parameters: the parameters
:type $format: string
:param $format: the date time format
:returns: \DateTime[] the date times
Expand All @@ -69,7 +69,7 @@ Validator\\AfterDateTime

.. php:method:: validateParameterCount($name, $parameterAmount, $parameters)
Throws an exception if the parameters don't fullfill the expected
Throws an exception if the parameters don't fulfill the expected
parameter count.

:type $name: string
Expand Down
8 changes: 4 additions & 4 deletions docs/api/Validator/AlphaNumerical.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-------------------------
Validator\\AlphaNumerical
-------------------------
--------------------------------
Valdi\\Validator\\AlphaNumerical
--------------------------------

.. php:namespace: Valdi\\Validator
Expand Down Expand Up @@ -46,7 +46,7 @@ Validator\\AlphaNumerical

.. php:method:: validateParameterCount($name, $parameterAmount, $parameters)
Throws an exception if the parameters don't fullfill the expected
Throws an exception if the parameters don't fulfill the expected
parameter count.

:type $name: string
Expand Down
8 changes: 4 additions & 4 deletions docs/api/Validator/Alphabetical.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-----------------------
Validator\\Alphabetical
-----------------------
------------------------------
Valdi\\Validator\\Alphabetical
------------------------------

.. php:namespace: Valdi\\Validator
Expand Down Expand Up @@ -46,7 +46,7 @@ Validator\\Alphabetical

.. php:method:: validateParameterCount($name, $parameterAmount, $parameters)
Throws an exception if the parameters don't fullfill the expected
Throws an exception if the parameters don't fulfill the expected
parameter count.

:type $name: string
Expand Down
10 changes: 5 additions & 5 deletions docs/api/Validator/BeforeDateTime.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-------------------------
Validator\\BeforeDateTime
-------------------------
--------------------------------
Valdi\\Validator\\BeforeDateTime
--------------------------------

.. php:namespace: Valdi\\Validator
Expand Down Expand Up @@ -51,7 +51,7 @@ Validator\\BeforeDateTime
Interprets the given parameters as date times and returns them.

:type $parameters: array
:param $parameters: the paramters
:param $parameters: the parameters
:type $format: string
:param $format: the date time format
:returns: \DateTime[] the date times
Expand All @@ -69,7 +69,7 @@ Validator\\BeforeDateTime

.. php:method:: validateParameterCount($name, $parameterAmount, $parameters)
Throws an exception if the parameters don't fullfill the expected
Throws an exception if the parameters don't fulfill the expected
parameter count.

:type $name: string
Expand Down
8 changes: 4 additions & 4 deletions docs/api/Validator/Between.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
------------------
Validator\\Between
------------------
-------------------------
Valdi\\Validator\\Between
-------------------------

.. php:namespace: Valdi\\Validator
Expand Down Expand Up @@ -46,7 +46,7 @@ Validator\\Between

.. php:method:: validateParameterCount($name, $parameterAmount, $parameters)
Throws an exception if the parameters don't fullfill the expected
Throws an exception if the parameters don't fulfill the expected
parameter count.

:type $name: string
Expand Down
6 changes: 3 additions & 3 deletions docs/api/Validator/Boolean.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
------------------
Validator\\Boolean
------------------
-------------------------
Valdi\\Validator\\Boolean
-------------------------

.. php:namespace: Valdi\\Validator
Expand Down
8 changes: 4 additions & 4 deletions docs/api/Validator/Contains.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-------------------
Validator\\Contains
-------------------
--------------------------
Valdi\\Validator\\Contains
--------------------------

.. php:namespace: Valdi\\Validator
Expand All @@ -10,7 +10,7 @@ Validator\\Contains

.. php:method:: validateParameterCount($parameterAmount)
Throws an exception if the parameters don't fullfill the expected
Throws an exception if the parameters don't fulfill the expected
parameter count.

:type $parameterAmount: integer
Expand Down
6 changes: 3 additions & 3 deletions docs/api/Validator/DateTime.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-------------------
Validator\\DateTime
-------------------
--------------------------
Valdi\\Validator\\DateTime
--------------------------

.. php:namespace: Valdi\\Validator
Expand Down
4 changes: 2 additions & 2 deletions docs/api/Validator/DateTimeBetween.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Valdi\\Validator\\DateTimeBetween
Interprets the given parameters as date times and returns them.

:type $parameters: array
:param $parameters: the paramters
:param $parameters: the parameters
:type $format: string
:param $format: the date time format
:returns: \DateTime[] the date times
Expand All @@ -69,7 +69,7 @@ Valdi\\Validator\\DateTimeBetween

.. php:method:: validateParameterCount($name, $parameterAmount, $parameters)
Throws an exception if the parameters don't fullfill the expected
Throws an exception if the parameters don't fulfill the expected
parameter count.

:type $name: string
Expand Down
6 changes: 3 additions & 3 deletions docs/api/Validator/Email.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
----------------
Validator\\Email
----------------
-----------------------
Valdi\\Validator\\Email
-----------------------

.. php:namespace: Valdi\\Validator
Expand Down
6 changes: 3 additions & 3 deletions docs/api/Validator/Floating.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-------------------
Validator\\Floating
-------------------
--------------------------
Valdi\\Validator\\Floating
--------------------------

.. php:namespace: Valdi\\Validator
Expand Down
6 changes: 3 additions & 3 deletions docs/api/Validator/IP.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-------------
Validator\\IP
-------------
--------------------
Valdi\\Validator\\IP
--------------------

.. php:namespace: Valdi\\Validator
Expand Down
6 changes: 3 additions & 3 deletions docs/api/Validator/IPv4.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---------------
Validator\\IPv4
---------------
----------------------
Valdi\\Validator\\IPv4
----------------------

.. php:namespace: Valdi\\Validator
Expand Down
6 changes: 3 additions & 3 deletions docs/api/Validator/IPv6.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---------------
Validator\\IPv6
---------------
----------------------
Valdi\\Validator\\IPv6
----------------------

.. php:namespace: Valdi\\Validator
Expand Down
6 changes: 3 additions & 3 deletions docs/api/Validator/InSet.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
----------------
Validator\\InSet
----------------
-----------------------
Valdi\\Validator\\InSet
-----------------------

.. php:namespace: Valdi\\Validator
Expand Down
10 changes: 5 additions & 5 deletions docs/api/Validator/InTheFuture.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
----------------------
Validator\\InTheFuture
----------------------
-----------------------------
Valdi\\Validator\\InTheFuture
-----------------------------

.. php:namespace: Valdi\\Validator
Expand Down Expand Up @@ -51,7 +51,7 @@ Validator\\InTheFuture
Interprets the given parameters as date times and returns them.

:type $parameters: array
:param $parameters: the paramters
:param $parameters: the parameters
:type $format: string
:param $format: the date time format
:returns: \DateTime[] the date times
Expand All @@ -69,7 +69,7 @@ Validator\\InTheFuture

.. php:method:: validateParameterCount($name, $parameterAmount, $parameters)
Throws an exception if the parameters don't fullfill the expected
Throws an exception if the parameters don't fulfill the expected
parameter count.

:type $name: string
Expand Down
Loading

0 comments on commit e35ac6c

Please sign in to comment.