Skip to content

Commit 144c77d

Browse files
author
Michael Fero
committed
Correcting spelling and updating incorrect documentation stubs
1 parent cbd48f9 commit 144c77d

20 files changed

+61
-58
lines changed

ext/doc/Cassandra/Cluster/Builder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ public function withTimestampGenerator($generator) {}
253253
* routing and $session->schema() will always return an empty object. This
254254
* can be useful for reducing the startup overhead of short-lived sessions.
255255
*
256-
* @param bool $enabled whether the driver fetches and maintains schema metadata.
256+
* @param bool $enable whether the driver fetches and maintains schema metadata.
257257
*
258258
* @return Builder self
259259
*/

ext/doc/Cassandra/DefaultTable.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,25 +125,25 @@ public function compressionParameters() {}
125125
* {@inheritDoc}
126126
* @return boolean Value of `populate_io_cache_on_flush` or null
127127
*/
128-
public function populateIOCacheOnFlush();
128+
public function populateIOCacheOnFlush() {}
129129

130130
/**
131131
* {@inheritDoc}
132132
* @return boolean Value of `replicate_on_write` or null
133133
*/
134-
public function replicateOnWrite();
134+
public function replicateOnWrite() {}
135135

136136
/**
137137
* {@inheritDoc}
138138
* @return int Value of `max_index_interval` or null
139139
*/
140-
public function maxIndexInterval();
140+
public function maxIndexInterval() {}
141141

142142
/**
143143
* {@inheritDoc}
144144
* @return int Value of `min_index_interval` or null
145145
*/
146-
public function minIndexInterval();
146+
public function minIndexInterval() {}
147147

148148
/**
149149
* {@inheritDoc}

ext/doc/Cassandra/RetryPolicy/DefaultPolicy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* The default retry policy. This policy retries a query, using the
2525
* request's original consistency level, in the following cases:
2626
*
27-
* * On a read timeout, if enough replicas replied but the data was not recieved.
27+
* * On a read timeout, if enough replicas replied but the data was not received.
2828
* * On a write timeout, if a timeout occurs while writing a distributed batch log.
2929
* * On unavailable, it will move to the next host.
3030
*

ext/doc/Cassandra/RetryPolicy/Fallthrough.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
use Cassandra\RetryPolicy;
2222

2323
/**
24-
* A retry policy that never retries and allows all errors to fallthough.
24+
* A retry policy that never retries and allows all errors to fallthrough.
2525
*/
2626
final class Fallthrough implements RetryPolicy
2727
{

ext/doc/Cassandra/RetryPolicy/Logging.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ final class Logging implements RetryPolicy
2828
/**
2929
* Creates a new Logging retry policy.
3030
*
31-
* @param Cassandra\RetryPolicy $childPolicy Any retry poilcy other than
31+
* @param Cassandra\RetryPolicy $childPolicy Any retry policy other than
3232
* Cassandra\Logging
3333
*/
3434
public function __construct($childPolicy) {}

ext/doc/Cassandra/Rows.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ public function nextPageAsync() {}
144144
*
145145
* @return string
146146
*/
147-
public function pagingStateToken {}
147+
public function pagingStateToken() {}
148148

149149
/**
150150
* Get the first row.

ext/doc/Cassandra/Timestamp.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function time() {}
5050
/**
5151
* Microtime from this timestamp
5252
*
53-
* @param bool $get_as_float Whther to get this value as float
53+
* @param bool $get_as_float Whether to get this value as float
5454
*
5555
* @return float|string Float or string representation
5656
* @see microtime

ext/doc/Cassandra/Tuple.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ final class Tuple implements Value, \Countable, \Iterator
2626
/**
2727
* Creates a new tuple with the given types.
2828
*
29-
* @param array $type Array of types
29+
* @param array $types Array of types
3030
*/
3131
public function __construct($types) {}
3232

ext/doc/Cassandra/Type.php

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -30,92 +30,92 @@ interface Type
3030
final static function varchar() {}
3131

3232
/**
33-
* Get representation of cassandra varchar type
34-
* @return Cassandra\Type varchar type
33+
* Get representation of cassandra text type
34+
* @return Cassandra\Type text type
3535
*/
3636
final static function text() {}
3737

3838
/**
39-
* Get representation of cassandra varchar type
40-
* @return Cassandra\Type varchar type
39+
* Get representation of cassandra blob type
40+
* @return Cassandra\Type blob type
4141
*/
4242
final static function blob() {}
4343

4444
/**
45-
* Get representation of cassandra varchar type
46-
* @return Cassandra\Type varchar type
45+
* Get representation of cassandra ascii type
46+
* @return Cassandra\Type ascii type
4747
*/
4848
final static function ascii() {}
4949

5050
/**
51-
* Get representation of cassandra varchar type
52-
* @return Cassandra\Type varchar type
51+
* Get representation of cassandra bigint type
52+
* @return Cassandra\Type bigint type
5353
*/
5454
final static function bigint() {}
5555

5656
/**
57-
* Get representation of cassandra varchar type
58-
* @return Cassandra\Type varchar type
57+
* Get representation of cassandra counter type
58+
* @return Cassandra\Type counter type
5959
*/
6060
final static function counter() {}
6161

6262
/**
63-
* Get representation of cassandra varchar type
64-
* @return Cassandra\Type varchar type
63+
* Get representation of cassandra int type
64+
* @return Cassandra\Type int type
6565
*/
6666
final static function int() {}
6767

6868
/**
69-
* Get representation of cassandra varchar type
70-
* @return Cassandra\Type varchar type
69+
* Get representation of cassandra varint type
70+
* @return Cassandra\Type varint type
7171
*/
7272
final static function varint() {}
7373

7474
/**
75-
* Get representation of cassandra varchar type
76-
* @return Cassandra\Type varchar type
75+
* Get representation of cassandra boolean type
76+
* @return Cassandra\Type boolean type
7777
*/
7878
final static function boolean() {}
7979

8080
/**
81-
* Get representation of cassandra varchar type
82-
* @return Cassandra\Type varchar type
81+
* Get representation of cassandra decimal type
82+
* @return Cassandra\Type decimal type
8383
*/
8484
final static function decimal() {}
8585

8686
/**
87-
* Get representation of cassandra varchar type
88-
* @return Cassandra\Type varchar type
87+
* Get representation of cassandra double type
88+
* @return Cassandra\Type double type
8989
*/
9090
final static function double() {}
9191

9292
/**
93-
* Get representation of cassandra varchar type
94-
* @return Cassandra\Type varchar type
93+
* Get representation of cassandra float type
94+
* @return Cassandra\Type float type
9595
*/
9696
final static function float() {}
9797

9898
/**
99-
* Get representation of cassandra varchar type
100-
* @return Cassandra\Type varchar type
99+
* Get representation of cassandra inet type
100+
* @return Cassandra\Type inet type
101101
*/
102102
final static function inet() {}
103103

104104
/**
105-
* Get representation of cassandra varchar type
106-
* @return Cassandra\Type varchar type
105+
* Get representation of cassandra timestamp type
106+
* @return Cassandra\Type timestamp type
107107
*/
108108
final static function timestamp() {}
109109

110110
/**
111-
* Get representation of cassandra varchar type
112-
* @return Cassandra\Type varchar type
111+
* Get representation of cassandra uuid type
112+
* @return Cassandra\Type uuid type
113113
*/
114114
final static function uuid() {}
115115

116116
/**
117-
* Get representation of cassandra varchar type
118-
* @return Cassandra\Type varchar type
117+
* Get representation of cassandra timeuuid type
118+
* @return Cassandra\Type timeuuid type
119119
*/
120120
final static function timeuuid() {}
121121

@@ -171,13 +171,13 @@ final static function set(Type $type) {}
171171
* Returns the name of this type as string.
172172
* @return string Name of this type
173173
*/
174-
function name();
174+
function name() {}
175175

176176
/**
177177
* Returns string representation of this type.
178178
* @return string String representation of this type
179179
*/
180-
function __toString();
180+
function __toString() {}
181181

182182
/**
183183
* Instantiate a value of this type from provided value(s).
@@ -188,5 +188,5 @@ function __toString();
188188
* @param mixed $value,... one or more values to coerce into this type
189189
* @return mixed a value of this type
190190
*/
191-
function create($value = null);
191+
function create($value = null) {}
192192
}

ext/doc/Cassandra/UserTypeValue.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ final class UserTypeValue implements Value, \Countable, \Iterator
2626
/**
2727
* Creates a new user type value with the given name/type pairs.
2828
*
29-
* @param array $type Array of types
29+
* @param array $types Array of types
3030
*/
3131
public function __construct($types) {}
3232

0 commit comments

Comments
 (0)