projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website]
/
web
/
core
/
modules
/
rest
/
tests
/
modules
/
rest_test
/
src
/
Plugin
/
rest
/
resource
/
NoSerializationClassTestResource.php
diff --git
a/web/core/modules/rest/tests/modules/rest_test/src/Plugin/rest/resource/NoSerializationClassTestResource.php
b/web/core/modules/rest/tests/modules/rest_test/src/Plugin/rest/resource/NoSerializationClassTestResource.php
index 3e83a4ce74cbb82c147222dcd9ef976dd3ef7d7e..26895884818cd188c8cb821e6ebb2ba917a746d1 100644
(file)
--- a/
web/core/modules/rest/tests/modules/rest_test/src/Plugin/rest/resource/NoSerializationClassTestResource.php
+++ b/
web/core/modules/rest/tests/modules/rest_test/src/Plugin/rest/resource/NoSerializationClassTestResource.php
@@
-25,7
+25,7
@@
class NoSerializationClassTestResource extends ResourceBase {
*
* @return \Drupal\rest\ResourceResponse
*/
- public function post(array $data
= []
) {
+ public function post(array $data) {
return new ResourceResponse($data);
}