Skip to content

Commit

Permalink
PHP tags cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
MaXal committed Mar 19, 2020
1 parent f840eda commit d9eea53
Show file tree
Hide file tree
Showing 22 changed files with 67 additions and 336 deletions.
1 change: 0 additions & 1 deletion Core/Core_c.php
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,6 @@ function bindTo($newthis, $newscope = 'static') { }
/**
* This method is a static version of Closure::bindTo().
* See the documentation of that method for more information.
* @static
* @link https://secure.php.net/manual/en/closure.bind.php
* @param Closure $closure The anonymous functions to bind.
* @param object $newthis The object to which the given anonymous function should be bound, or NULL for the closure to be unbound.
Expand Down
10 changes: 5 additions & 5 deletions SimpleXML/SimpleXML.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ final public function __construct ($data, $options = 0, $data_is_url = false, $n

/**
* Provides access to element's children
* @access private Method not callable directly, stub exists for typehint only
* private Method not callable directly, stub exists for typehint only
* @param string $name child name
* @return SimpleXMLElement
*/
Expand Down Expand Up @@ -214,23 +214,23 @@ public function count () {}

/**
* Class provides access to children by position, and attributes by name
* @access private Method not callable directly, stub exists for typehint only
* private Method not callable directly, stub exists for typehint only
* @param string|int $offset
* @return bool true on success or false on failure.
*/
private function offsetExists ($offset) {}

/**
* Class provides access to children by position, and attributes by name
* @access private Method not callable directly, stub exists for typehint only
* private Method not callable directly, stub exists for typehint only
* @param string|int $offset
* @return SimpleXMLElement Either a named attribute or an element from a list of children
*/
private function offsetGet ($offset) {}

/**
* Class provides access to children by position, and attributes by name
* @access private Method not callable directly, stub exists for typehint only
* private Method not callable directly, stub exists for typehint only
* @param string|int $offset
* @param mixed $value
* @return void
Expand All @@ -239,7 +239,7 @@ private function offsetSet ($offset, $value) {}

/**
* Class provides access to children by position, and attributes by name
* @access private Method not callable directly, stub exists for typehint only
* private Method not callable directly, stub exists for typehint only
* @param string|int $offset
* @return void
*/
Expand Down
32 changes: 12 additions & 20 deletions cassandra/cassandra.php
Original file line number Diff line number Diff line change
Expand Up @@ -4189,15 +4189,15 @@ public static final function inet()

/**
* Initialize a Collection type
* @code{.php}
* ```php
* <?php
* use Type;
*
* $collection = Type::collection(Type::int())
* ->create(1, 2, 3, 4, 5, 6, 7, 8, 9);
*
* var_dump($collection);
* @endcode
* ```
*
* @param \Cassandra\Type $type The type of values
*
Expand All @@ -4210,15 +4210,15 @@ public static final function collection($type)

/**
* Initialize a set type
* @code{.php}
* ```
* <?php
* use Type;
*
* $set = Type::set(Type::varchar())
* ->create("a", "b", "c", "d", "e", "f", "g", "h", "i", "j");
*
* var_dump($set);
* @endcode
* ```
*
* @param \Cassandra\Type $type The types of values
*
Expand All @@ -4231,15 +4231,13 @@ public static final function set($type)

/**
* Initialize a map type
* @code{.php}
* <?php
* ```<?php
* use Type;
*
* $map = Type::map(Type::int(), Type::varchar())
* ->create(1, "a", 2, "b", 3, "c", 4, "d", 5, "e", 6, "f")
*
* var_dump($map);
* @endcode
* var_dump($map);```
*
* @param \Cassandra\Type $keyType The type of keys
* @param \Cassandra\Type $valueType The type of values
Expand All @@ -4253,15 +4251,13 @@ public static final function map($keyType, $valueType)

/**
* Initialize a tuple type
* @code{.php}
* <?php
* ```<?php
* use Type;
*
* $tuple = Type::tuple(Type::varchar(), Type::int())
* ->create("a", 123);
*
* var_dump($tuple);
* @endcode
* var_dump($tuple);```
*
* @param \Cassandra\Type $types A variadic list of types
*
Expand All @@ -4274,15 +4270,13 @@ public static final function tuple($types)

/**
* Initialize a user type
* @code{.php}
* <?php
* ```<?php
* use Type;
*
* $userType = Type::userType("a", Type::varchar(), "b", Type::int())
* ->create("a", "abc", "b", 123);
*
* var_dump($userType);
* @endcode
* var_dump($userType);```
*
* @param \Cassandra\Type $types A variadic list of name/type pairs
*
Expand Down Expand Up @@ -7043,8 +7037,7 @@ public function __toString()
/**
* Creates a new Map from the given values.
*
* @code{.php}
* <?php
* ```<?php
* use Type;
* use Uuid;
*
Expand All @@ -7053,8 +7046,7 @@ public function __toString()
* new Uuid(), 'second uuid',
* new Uuid(), 'third uuid');
*
* var_dump($map);
* @endcode
* var_dump($map);```
*
*
* is a key and each even value is a value for the
Expand Down
2 changes: 1 addition & 1 deletion couchbase/couchbase.php
Original file line number Diff line number Diff line change
Expand Up @@ -2004,7 +2004,7 @@ public function consistency($consistency) {}
* Controls the profiling mode used during query execution
*
* @param string $profileType
* @returns N1qlQuery
* @return N1qlQuery
* @see \Couchbase\N1qlQuery::PROFILE_NONE
* @see \Couchbase\N1qlQuery::PROFILE_PHASES
* @see \Couchbase\N1qlQuery::PROFILE_TIMINGS
Expand Down
Loading

0 comments on commit d9eea53

Please sign in to comment.