Skip to content

Commit

Permalink
Cosolidate doc block headers
Browse files Browse the repository at this point in the history
  • Loading branch information
euromark committed Oct 30, 2014
1 parent a00f109 commit c364e5e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions src/Collection/CollectionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function each(callable $c);
* in the current iteration, the key of the element and this collection as
* arguments, in that order.
*
* ##Example:
* ## Example:
*
* Filtering odd numbers in an array, at the end only the value 2 will
* be present in the resulting collection:
Expand All @@ -79,7 +79,7 @@ public function filter(callable $c = null);
* in the current iteration, the key of the element and this collection as
* arguments, in that order.
*
* ##Example:
* ## Example:
*
* Filtering even numbers in an array, at the end only values 1 and 3 will
* be present in the resulting collection:
Expand Down Expand Up @@ -157,7 +157,7 @@ public function contains($value);
* in the current iteration, the key of the element and this collection as
* arguments, in that order.
*
* ##Example:
* ## Example:
*
* Getting a collection of booleans where true indicates if a person is female:
*
Expand Down
2 changes: 1 addition & 1 deletion src/Collection/Iterator/TreeIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function __construct(RecursiveIterator $items, $mode = RecursiveIteratorI
* the current element as first parameter, the current iteration key as second
* parameter, and the iterator instance as third argument.
*
* ##Example
* ## Example
*
* {{{
* $printer = (new Collection($treeStructure))->listNested()->printer('name');
Expand Down
12 changes: 6 additions & 6 deletions src/Database/Query.php
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ public function select($fields = [], $overwrite = false) {
* or set of fields, you may pass an array of fields to filter on. Beware that
* this option might not be fully supported in all database systems.
*
* ##Examples:
* ## Examples:
*
* {{{
* // Filters products with the same name and city
Expand Down Expand Up @@ -355,7 +355,7 @@ public function modifier($modifiers, $overwrite = false) {
*
* This method can be used for select, update and delete statements.
*
* ##Examples:
* ## Examples:
*
* {{{
* $query->from(['p' => 'posts']); // Produces FROM posts p
Expand Down Expand Up @@ -755,7 +755,7 @@ public function where($conditions = null, $types = [], $overwrite = false) {
* that each array entry will be joined to the other using the AND operator, unless
* you nest the conditions in the array using other operator.
*
* ##Examples:
* ## Examples:
*
* {{{
* $query->where(['title' => 'Hello World')->andWhere(['author_id' => 1]);
Expand Down Expand Up @@ -816,7 +816,7 @@ public function andWhere($conditions, $types = []) {
* that each array entry will be joined to the other using the OR operator, unless
* you nest the conditions in the array using other operator.
*
* ##Examples:
* ## Examples:
*
* {{{
* $query->where(['title' => 'Hello World')->orWhere(['title' => 'Foo']);
Expand Down Expand Up @@ -874,7 +874,7 @@ public function orWhere($conditions, $types = []) {
* By default this function will append any passed argument to the list of fields
* to be selected, unless the second argument is set to true.
*
* ##Examples:
* ## Examples:
*
* {{{
* $query->order(['title' => 'DESC', 'author_id' => 'ASC']);
Expand Down Expand Up @@ -929,7 +929,7 @@ public function order($fields, $overwrite = false) {
* By default this function will append any passed argument to the list of fields
* to be grouped, unless the second argument is set to true.
*
* ##Examples:
* ## Examples:
*
* {{{
* // Produces GROUP BY id, title
Expand Down

0 comments on commit c364e5e

Please sign in to comment.