Skip to content

Commit 72d9588

Browse files
committed
Fix typos
1 parent b6806ac commit 72d9588

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Mock/OpenApiDataMocker.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ public function mockString(
258258
$str = base64_encode($getLoremIpsum($inputLength));
259259
}
260260

261-
// base64 encoding produces strings devided by 4, so resulted string can exceed maxLength parameter
261+
// base64 encoding produces strings divided by 4, so resulted string can exceed maxLength parameter
262262
// I think truncated(invalid) base64 string is better than oversized, cause this data is fake anyway
263263
$str = $truncateOrPad($str, null, $maxLength, '. ');
264264
break;

test/Mock/OpenApiDataMockerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,7 @@ public function provideMockArrayInvalidArguments()
842842
'items is nor array' => [
843843
'foobar', null, null, false,
844844
],
845-
'items doesnt have "type" key' => [
845+
'items doesn\'t have "type" key' => [
846846
['foobar' => 'foobaz'], null, null, false,
847847
],
848848
'minItems is not integer' => [

0 commit comments

Comments
 (0)