Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / history / src / Controller / HistoryController.php
index 6a4e80a2389280da3b65ccb6e39a784a95ddb1dc..c6a48349038767cd46e675e9752490b52c5b67aa 100644 (file)
@@ -51,7 +51,7 @@ class HistoryController extends ControllerBase {
     // Update the history table, stating that this user viewed this node.
     history_write($node->id());
 
-    return new JsonResponse((int)history_read($node->id()));
+    return new JsonResponse((int) history_read($node->id()));
   }
 
 }