diff --git a/core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php b/core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php
index e6d5d786dd7fb8f70b5090ba1fafde544c659ff4..3f281995d8da25f4a71757c50ec8aabebdaf8372 100644
--- a/core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php
+++ b/core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php
@@ -30,7 +30,7 @@
  *     \Drupal\migrate\Plugin\MigrateIdMapInterface::STATUS_NEEDS_UPDATE.
  * - The row needs an update.
  *   - Rows can be marked by custom or contrib modules using the
- *     \Drupal\migrate\Plugin\MigrateIdMapInterface::prepareUpdate() os
+ *     \Drupal\migrate\Plugin\MigrateIdMapInterface::prepareUpdate() or
  *     \Drupal\migrate\Plugin\MigrateIdMapInterface::setUpdate()
  *     methods.
  * - The row is above the high-water mark.
@@ -97,9 +97,9 @@
  * source:
  *   plugin: some_source_plugin_name
  *   constants:
- *     - foo: bar
+ *     foo: bar
  * process:
- *   baz: constants/bar
+ *   baz: constants/foo
  * @endcode
  *
  * In this example, the constant 'foo' is defined with a value of 'bar'. It is