diff --git a/src/Collection/CollectionInterface.php b/src/Collection/CollectionInterface.php index 4f361a7cfec..c3f3e4de10c 100644 --- a/src/Collection/CollectionInterface.php +++ b/src/Collection/CollectionInterface.php @@ -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: @@ -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: @@ -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: * diff --git a/src/Collection/Iterator/TreeIterator.php b/src/Collection/Iterator/TreeIterator.php index bfb31378f52..b2023d627c5 100644 --- a/src/Collection/Iterator/TreeIterator.php +++ b/src/Collection/Iterator/TreeIterator.php @@ -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'); diff --git a/src/Database/Query.php b/src/Database/Query.php index a9c279bc0a4..d5fa2e92402 100644 --- a/src/Database/Query.php +++ b/src/Database/Query.php @@ -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 @@ -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 @@ -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]); @@ -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']); @@ -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']); @@ -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